git push code to a branch code example
Example 1: git push branch
git push -u origin <branch>
Example 2: push local branch changes to remote branch
git push -u origin localBranch:remoteBranchToBeCreated
git push -u origin <branch>
git push -u origin localBranch:remoteBranchToBeCreated