title: git pull in windows doesn't work when the branch name had double quotes
body: <p>I am trying to find a workaround, in private gitlab, i noticed some user accidently typed <code>&quot;</code> : branch is named something like <code>story/UI_login_feature&quot;</code>.</p>
  <p>This seems to work fine in Linux box, when i issue git pull.</p>
  <p>Windows is not able to pull, since i get below message whatever i do.
  i used, git bash to create the file manually still it is not working</p>
  <pre><code>error: cannot lock ref 'refs/remotes/origin/story/UI_login_feature&quot;':
  Unable to create 'C:/Users/tim/git/webapp/.git/refs/remotes/origin/story/UI_login_feature&quot;.lock':
  Invalid argument
  </code></pre>
  <p>Deleting the branch is not an option for me now since it has some other user changes.</p>