title: heroku git:clone creates empty repository
body: <p>I'm having problems retrieving the current application code from heroku. I think it is messed up at Heroku but their support hasn't replied yet (3 days and counting). 
  But maybe someone else has an idea what might be wrong or if there is something else I could try.</p>
  
  <p>terminal output:</p>
  
  <pre><code>$ heroku git:clone -a APPNAME
  Cloning from app 'APPNAME'...
  Cloning into 'APPNAME'...
  warning: You appear to have cloned an empty repository.
  
  
  $ git pull
  Your configuration specifies to merge with the ref 'master'
  from the remote, but no such ref was fetched.
  </code></pre>
  
  <p>.git/config looks fine but the local directory has no branches or other content.</p>
  
  <hr>
  
  <p><strong>Update</strong>
  The issue was indeed a corrupt git repository. Heroku support re-initialized the repository which fixed all problems. </p>