git checkout new branch and push to remote code example
Example 1: push a new branch
git push -u origin <branch-name>
Example 2: git new branch push to remote
git push -u origin <branch>
git push -u origin <branch-name>
git push -u origin <branch>