title: unable to create file ... Permission denied
body: <p>i am currently working on windows.</p>
  
  <p>Sometimes i have problems when i try :</p>
  
  <pre><code>git checkout origin develop
  </code></pre>
  
  <p>i have this error :
  error: unable to create file .... : Permission denied</p>
  
  <p>"git status" show me the file in error not staged so i have to commit</p>
  
  <p>What do i have to check ?</p>
  
  <p>i tried to do this command line on my computer :</p>
  
  <pre><code>chown -R username directory
  </code></pre>
  
  <p>We are severals people to work on a git repository and they have the problem too.</p>
  
  <p>thanks for you help</p>