how to push my local branch to a branch in remote repository code example Example: Push your branch up to the remote. $ git push <remote> <branch>