get name of remote heroku code example Example 1: heroku git remote heroku git:remote -a name-of-app Example 2: heroku create with name heroku create name-of-app