Heroku: How to change a Git remote on Heroku
View Remote URLs
> git remote -v
heroku https://git.heroku.com/###########.git (fetch) < your Heroku Remote URL heroku https://git.heroku.com/############.git (push) origin https://github.com/#######/#####.git (fetch) < if you use GitHub then this is your GitHub remote URL origin https://github.com/#######/#####.git (push)
Remove Heroku remote URL
> git remote rm heroku
Set new Heroku URL
> heroku git:remote -a ############
And you are done.