heroku git:remote -a yourapp code example Example: heroku git remote heroku git:remote -a name-of-app