git commit and push to remote branch code example
Example 1: git push to branch
# If its your first push
git push -u origin BRANCH
# Otherwise
git push origin BRANCH
Example 2: git push
git push -u githubrepo master
Example 3: Push your branch up to the remote.
$ git push <remote> <branch>