title: error: could not lock config file C:/Program Files/Git/mingw64/etc/gitconfig: Permission denied
body: <p>I would like to run this Git command:</p>
  
  <pre><code>git submodule add https://github.com/example/example.git
  </code></pre>
  
  <p>But I get this error:</p>
  
  <blockquote>
    <p>Cloning into 'C:/projects/xxx/yyy/zzz/'... 
    fatal: unable to access '<a href="https://github.com/xxx/yyy.git/" rel="noreferrer">https://github.com/xxx/yyy.git/</a>': error setting certificate verify locations:<br>
    CAfile: C:\Program Files (x86)\git\bin\curl-ca-bundle.crt<br>
    CApath: none<br>
    fatal: clone of '<a href="https://github.com/xxx/yyy.git" rel="noreferrer">https://github.com/xxx/yyy.git</a>' into submodule path 'C:/projects/xxx/yyy/zzz/example' failed</p>
  </blockquote>
  
  <p>So, to fix this, I am trying to run this command:</p>
  
  <pre><code>git config --system http.sslcainfo "C:\Program Files (x86)\git\bin\curl-ca-bundle.crt"
  </code></pre>
  
  <p>But I get this error message:</p>
  
  <blockquote>
    <p>error: could not lock config file C:/Program Files/Git/mingw64/etc/gitconfig: Permission denied</p>
  </blockquote>
  
  <p>How can I fix this?</p>