create a git branch and push to it from terminal 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>