push code to new branch github code example
Example 1: push a new branch
git push -u origin <branch-name>
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-name>
git checkout -b <branch>
git add .
git commit -m "comment"
git push -u origin <branch>