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