title: git clone fatal: cannot create work tree dir permission denied
body: <p>so I'm trying to clone a repository from git, into a folder i know I have write access in. </p>
  
  <p>I'm trying to clone it using IntelliJ's built in VCS capabilities, and the git bash program from git-scm.com Both of them return the following error: </p>
  
  <pre><code>fatal: could not create work tree dir '&lt;repo name&gt;' : 
  Permission denied
  </code></pre>
  
  <p>What am I doing wrong?</p>