When I run a command such as:
git remote add origin email@example.com:MyName/MyRepo.git
git remote add is specifying a remote repository. This is going to be visible in the file
.git/config. It will now have a line something like
[remote "origin"] url = firstname.lastname@example.org:MyName/MyRepo.git fetch = +refs/heads/*:refs/remotes/origin/*
This will only affect your local clone.
The effect of setting a remote is when you try to do things like
fetch. It will look at the remote repo to see if you are out of date, or to try to push your local branch up to the remote version of your branch.