These only show you how to update the local copy. And, it’s assumed you’ll ONLY be merging the branch you are working on.
She forgot to tell you that
masterhas to be the locally checked out branch.
Also, the only two branches which will be merged are the
upstream/master. The rest of the branches will hang around looking like duplicates in your GitHub.app GUI.
Narf’s Cleaner Way
The part about cloning and changing the current directory, etc. are the same. But, instead of adding and fetching you’ll do:
This way you don’t get the duplicate branches (which are empty anyways.)