how to remove git origin heroku code example
Example 1: how to remove heroku from git
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