git push target code example Example 1: git push branch git push -u origin <branch> Example 2: git push main git push <remote> --force