git push heroku <branchname>:main code example
Example 1: how to push to heroku outside the master branch
git push -f heroku HEAD:master
Example 2: can i do git push to heroku branch which isnt a master or main
$ git push heroku yourbranch:master