I do not want to upload my app to the wrong domain.
How can I change the git master branch on git?
This worked for me:
git remote set-url heroku
This replacement old url heroku.
You can check with:
git remote -v