heroku push branch code example
Example 1: heroku git remote
heroku git:remote -a name-of-app
Example 2: heroku and github on termi
$ git push heroku master
Initializing repository, done.
updating 'refs/heads/master'
...
heroku git:remote -a name-of-app
$ git push heroku master
Initializing repository, done.
updating 'refs/heads/master'
...