Rename a remote url in git
If i wanted to change the name of the remote to, lets say ‘testing’ from ‘deploy’, I can rename my remote using the following command
git remote rename deploy testing
As you can tell, the sytax for the command is
git remote rename oldName newName