can i do git push to heroku branch which isnt a master or main

C++
$ git push heroku yourbranch:master

Source

Also in C++: