I'm trying to get better at using Git. And I'm also starting to get into open-source development. I found an open-source project on GitHub that I thought I'd join. I forked the repo, then cloned it onto my machine. Next I tried to set up my remote to point to the original repo on GitHub so I could fetch/pull from there. But I made a mistake in performing the set-upstream command. I first issued a git remote add upsteam <the Git URL>
. Then I fetched upsteam, then issues a git branch --set-upsteam-to=...
Please note, I used upsteam, not upstream.
And yet Git didn't issue any errors. What I realized my mistake, then reissued the commands using upstream. But what in heck did I do to Git and the repo on my machine?