git push remote main branch code example Example: git new branch push to remote git push -u origin <branch>