how to push local branch to another remote branch code example Example: push local branch changes to remote branch git push -u origin localBranch:remoteBranchToBeCreated