xxxxxxxxxx
heroku create -a example-app
# Creating app... done, ⬢ example-app
# https://thawing-inlet-61413.herokuapp.com/ | https://git.heroku.com/example-app.git
xxxxxxxxxx
cd /project/directory
git init
# the set git remote heroku to https://git.heroku.com/example-app.git
heroku git:remote -a example-app