git psuh branch code example Example 1: git push branch git push -u origin <branch> Example 2: Push your branch up to the remote. $ git push <remote> <branch>