Tracking Remote Branches With Different Names
Learn how to track remote branches that have different names from local branches.
Tracking a branch
More rarely, you may want to track a branch on the remote repository that has a different name. Or you may want to manually mark the local branch as tracking a specific remote one.
In these situations, you might see this kind of error when you push:
1 git push
As is often the case, a careful reading of the error will tell you what you need to know. It’s just the jargon that can be difficult ...