Make deployment of other branches than 'master' work for Git versions ≥ 1.6.6

just give it a try. if you had deployed manually to heroku before, the old approach failes:

  2014-11-26T00:49:49.215907+00:00 app[web.1]: Fetching repository, done.
  2014-11-26T00:49:54.441869+00:00 app[web.1]: error: src refspec develop does not match any.
  2014-11-26T00:49:54.442275+00:00 app[web.1]: error: failed to push some refs to 'git@heroku.com:****.git'


This fix works