I have cloned a forked repo using the URL of the forked repo & navigate to the master branch of the cloned repo.
After navigating inside the cloned repo project, I make some changes & commit the changes in the master branch of the cloned repo.
I now intend to push the changes to the forked remote repo.
As I push, I use the alias ‘origin’.
Does git figure out that it has to push the changes to the forked repo & not to the original repo?
I ask this because in Q:7 of Fork Lab, ‘origin’ was used to push the changes to remote repo. ‘origin’ was the alias of the original repo, I believe