Pushing to another branch in Git
You can make the branch name on the local network different from the branch name on the server. To do this, in the send command, first write the name of the local branch, and then the name of the remote branch separated by a colon:
git push origin master:remote_branch
Send data to another branch.