heroku git clone code example Example 1: how to clone from heroku $ heroku git:clone -a myapp Example 2: git push to heroku $ git push heroku master