git remote add origin heroku code example Example 1: git remote add heroku heroku git:remote -a project Example 2: push heroku $ git push heroku master