Here are some helpful bash commands that may help you in pushing and pulling data from repo. Here I'm using git hub.
Pull data from Repo
git pull git@github.com:sample/newtest_php.git
Push data to Repo
git checkout
git add //Here add all your updated file names
git commit
git push git@github.com:sample/newtest_php.git
Pull data from Repo
git pull git@github.com:sample/newtest_php.git
Push data to Repo
git checkout
git add
git commit
git push git@github.com:sample/newtest_php.git
I think this post will help those who are newbies to the git hub.