Download and log in to Heroku
$ heroku login
Initialize a git repository
$ cd my-project
$ git init
$ heroku git:remote -a app-name
Commit the code to repository
$ git add .
$ git commit -am "commit-message"
$ git push heroku main
Simply add the heroku remote
$ heroku git:remote -a todo-management-seop
Install guide
https://devcenter.heroku.com/articles/heroku-cli
https://dashboard.heroku.com/apps/todo-management-seop/deploy/heroku-git