how to create a new branch and push code in git using git bash 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>