opushing to branch code example
Example 1: git new branch push to remote
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