title: git ls-remote returns 128 on any repo
body: <p>When using git, <code>git ls-remote</code> returns status code <code>128</code> while any other commands work flawlessly (push/pull/clone/etc). My repos are being managed with gitolite. I'm getting this error when trying to deploy rails app for the first time. When invoking said command by hand I get standard error like this:</p>
  
  <pre><code>fatal: The remote end hung up unexpectedly
  </code></pre>
  
  <p>If this was permissions/public key issue, I wouldn't be able to push/pull to/from the repo. Why does single <code>ls-remote</code> command fail?</p>