$ git remote rename <old-name> <new-name>
So, for this example:
$ git remote rename heroku production
Useful docs here: https://help.github.com/articles/renaming-a-remote/
$ git remote rename <old-name> <new-name>
So, for this example:
$ git remote rename heroku production
Useful docs here: https://help.github.com/articles/renaming-a-remote/