Open cmd in the directory of your project. Then enter the following things git checkout branch-to-deploy heroku git:remote -a app-name git push heroku branch-to-deploy:main