commit to new branch github code example
Example 1: push project to new branch git
git push -u origin branchName
Example 2: create a new branch and publish gitub
git checkout -b <branch>
git push -u origin <branch>
git push -u origin branchName
git checkout -b <branch>
git push -u origin <branch>