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