$ git push heroku yourbranch:main
if you are using the heroku web dashboard, you can choose and deploy the github branch directly from there as well which is way better.