push local branch to existing remote branch code example
Example 1: git push in a new branch
git checkout -b <branch>
git add .
git commit -m "comment"
git push -u origin <branch>
Example 2: Push your branch up to the remote.
$ git push <remote> <branch>