git how to push local branch to new remote code example Example: Push your branch up to the remote. $ git push <remote> <branch>