git push heroku main:master code example
Example 1: git push to heroku
$ git push heroku master
Example 2: can i do git push to heroku branch which isnt a master or main
$ git push heroku yourbranch:master
$ git push heroku master
$ git push heroku yourbranch:master