check heroku repositry code example
Example 1: set git remote heroku to https://git.heroku.com/resume-projects.git
$ git push heroku master
Initializing repository, done.
updating 'refs/heads/master'
...
Example 2: heroku and github on termi
$ git remote rename heroku heroku-staging