Make Heroku run non-master Git branch
You can push an alternative branch to Heroku using Git.
git push heroku-dev test:master
This pushes your local test branch to the remote's master branch (on Heroku).
Comment from @Brian Armstrong:
Worth noting also, when you're ready to go back to master you need to do
git push -f heroku master:master