You already have a Git repository on your computer. Let's push it up to Bitbucket.
cd /path/to/my/repo git remote add origin https://username@bitbucket.org/username/test.git git push -u origin --all # pushes up the repo and its refs for the first time git push -u origin --tags # pushes up any tags
[source]
#!/bin/bash
cd /var/www/vhosts/dev
echo "Please enter commit comment: "
read input_variable
git commit -am "$input_variable"
git push -u origin master