git heroku remove remote code example
Example 1: remove heroku remote
git remote rm heroku
Example 2: delete git remote heroku
$ git remote rm heroku // delete the heroku remote
$ heroku git:remote -a NAME_OF_HEROKU_APP // reatributte the heroku app