pushing to github pushes to heroku too code example
Example: heroku and github on termi
$ git push heroku master
Initializing repository, done.
updating 'refs/heads/master'
...
$ git push heroku master
Initializing repository, done.
updating 'refs/heads/master'
...