how to deploy heroku with an existing a git repository code example
Example 1: heroku git remote
heroku git:remote -a name-of-app
Example 2: push heroku
$ git push heroku master
Example 3: heroku and github on termi
$ heroku git:remote -a thawing-inlet-61413
set git remote heroku to https://git.heroku.com/thawing-inlet-61413.git