You can change the url of an existing remote by the command

git remote set-url remote-name url