git push origin main code example Example 1: git remote push git push <REMOTENAME> <BRANCHNAME> Example 2: git push main git push <remote> --force