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