title: Error on git pull error : cannot open .git/FETCH_HEAD: Permission denied
body: <p>I'm looking for help !!</p>
  
  <p>I am getting the following error message when trying to complete a git pull;</p>
  
  <p>C:\Jenkins\Repo> git pull error: cannot open .git/FETCH_HEAD: Permission denied</p>
  
  <p>The machine in question is Windows Server 2008 r2 OS and were using ssh to handle the authentication.</p>
  
  <p><strong>We have tried the following;</strong>
  Checked that the current user the correct read/write on the FETCH_HEAD file, which it does, also checking that the user has the correct permissions set on the repo root.</p>
  
  <p>I have tried to load my private key (which I know 100% works and has permissions to the repo in question) and still the same issue... so from little I know regarding git I think this is more of a Windows issue</p>
  
  <p>and lots of Google ! </p>
  
  <p>Any more ideas on what to do/check would be a great help ! </p>