Issue
I need to migrate to HTTP Git transport due to the retirement of Heroku's SSH Git transport build feature in November 2021
Resolution
To migrate over to the HTTP method, reconfigure your local git remote by running the following command, using your application's name.
$ heroku git:remote -a [app_name]
You can then deploy your app using git push heroku main
, or similar commands, as described in this Dev Center article.