select a repo branch while pushing code example Example: Push your branch up to the remote. $ git push <remote> <branch>