title: msys git causing "fatal: Unable to create 'c:/xxx/.git/refs/remotes/origin/"failed-to-sent".lock ': Invalid argument" error
body: <p>I have <code>git version 1.9.5.msysgit.0</code> installed with proper configuration but still getting this error while pulling code?</p>
  
  <p>I tried <code>git pull</code> on <code>develop</code> branch</p>
  
  <pre><code>fatal: Unable to create 'c:/xxxx/.git/refs/remotes/origin/"failed-to-sent".lock
  ': Invalid argument
  Unexpected end of command stream
  </code></pre>
  
  <p>But when I do <code>git pull origin develop</code>, everything is fine.</p>
  
  <p>Any thoughts , why ?</p>