deploy heroku with a git code example
Example 1: deploying to heroku from git
$ git push heroku master
Initializing repository, done.
updating 'refs/heads/master'
...
Example 2: deploying to heroku from git
$ git push heroku testbranch:master
$ git push heroku master
Initializing repository, done.
updating 'refs/heads/master'
...
$ git push heroku testbranch:master