update heroku remote code example Example: renaming heroku app $ git remote rm heroku $ heroku git:remote -a newname