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