To add a new remote, use the git remote add
command on the terminal, in the directory your repository is stored at.
The git remote set-url
command changes an existing remote repository URL.
So basicly, remote add
is to add a new one, remote set-url
is to update an existing one