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