deploy heroku cli different branch code example Example 1: heroku git remote heroku git:remote -a name-of-app Example 2: push heroku $ git push heroku master