how to push to github and heroku at the same time 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'
...