I'm quite new to this Git thing and need a little help.
I recently created a new repo on GitHub and cloned it on my desktop. Let's call it myProject. I also have a fork in my GitHub account which I included in myProject as a submodule. Let's call this myForkOfOtherProject, which is a fork of otherProject.
So, this is the current situation:
When a repo is cloned, it has a default remote called origin that points to your fork on GitHub, not the original repo it was forked from. To keep track of the original repo, you need to add another remote named upstream.
So, my question is, how do I set the upstream to the submodule? Or am I not understanding something?
Thank you in advance.