push changes to remote branch in git command code example
Example 1: push local branch changes to remote branch
git push -u origin localBranch:remoteBranchToBeCreated
Example 2: Push your branch up to the remote.
$ git push <remote> <branch>
git push -u origin localBranch:remoteBranchToBeCreated
$ git push <remote> <branch>