title: cap production deploy:check fails on Codeship.io - fails on git:check
body: <p>Curious if anyone can shed some light on why my deploy won't work on Codeship.io.  All goes well until git:check then it exits with a <a href="https://github.com/capistrano/capistrano/blob/master/lib/capistrano/tasks/git.rake#L28" rel="nofollow">non-helpful error</a>.</p>
  
  <p>Here's an overview of of what's happening:</p>
  
  <ol>
  <li><p>Can manually deploy fine from local machines.</p></li>
  <li><p>Set Codeship's public key in Github as a deploy key for the repo.</p></li>
  <li><p>Placed Codeship's public key on server.</p></li>
  </ol>
  
  <p>Using Codeship's interactive shell I can shell into the server, read/write files.  I also noticed that capistrano is able to write the git-ssh.sh into the server's /tmp directory.  I'm also able to use that file to <a href="https://gist.github.com/northband/7cb4ecb2e3c615988735" rel="nofollow">interact with the repo</a>.</p>
  
  <p>However, every time I try a <code>cap production deploy:check</code> I get the following error: <a href="https://gist.github.com/northband/b0a8f0726b61f4fe7ab0" rel="nofollow">Gist of Error</a>.</p>
  
  <p>Any help greatly appreciated as I've spent too much time debugging already.</p>