push local to new remote branch code example
Example 1: git new branch push to remote
git push -u origin <branch>
Example 2: git push in a new branch
git checkout -b <branch>
git add .
git commit -m "comment"
git push -u origin <branch>
git push -u origin <branch>
git checkout -b <branch>
git add .
git commit -m "comment"
git push -u origin <branch>