@pat is correct here, but this is a great example of the kind of question that you can answer for yourself far faster by googling.
Here’s the first result from searching “push non-master branch to heroku”: Deploying with Git | Heroku Dev Center.
Time spent blocked? About 10 seconds.