How to push a local branch to remote when the branch names differ git push [remote] [localBranchName]:[remoteBranchName] git push upstream old_script_version:deprecated_script_version