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