title: git permission denied on pull/push
body: <p>I'm trying to create a project using git, but after cloning repository from github in phpstorm i can commint/push/pull only once. After that I see the message about permissions denied on files: COMMIT_EDITMSG or FETCH_HEAD. </p>
  
  <p>I set .git folder visible and not only readable and i can do one commit/push/pull and after permissions denied again. And .git folder become hidden and only readable.</p>
  
  <p>In windows I set full access for .git folder and it files, but got same effect.</p>
  
  <p>Cloning through phpstorm or console have no difference.</p>
  
  <p>ps: Sorry for my english. And some names and title maybe not correct because I have russian windows.</p>
  
  <p>pps: i've scanned my PC and found no viruses.</p>