heroku connect to app cli code example
Example 1: heroku cli connect to app
heroku git:remote -a yourApp
Example 2: add heroku to cli
$ brew tap heroku/brew && brew install heroku
heroku git:remote -a yourApp
$ brew tap heroku/brew && brew install heroku