title: git config command returns: fatal: unable to read config file '%HOMEDRIVE%%HOMEPATH%/.gitconfig': No such file or directory
body: <p>On My Windows 10 box, when I run:</p>
  
  <pre><code>git config --global -l
  </code></pre>
  
  <p>it fails with the message:</p>
  
  <blockquote>
    <p>fatal: unable to read config file '%HOMEDRIVE%%HOMEPATH%/.gitconfig':
    No such file or directory</p>
  </blockquote>
  
  <p>Both env vars look ok (to me) and .gitgconfig is where it should be I think:</p>
  
  <pre><code>C:\Users\BRITTG2&gt;echo %homedrive%
  P:
  
  C:\Users\BRITTG2&gt;echo %homepath%
  \
  
  C:\Users\BRITTG2&gt;dir %homedrive%%homepath%.gitconfig
   Volume in drive P is home
   Volume Serial Number is 8076-09DA
  
   Directory of P:\
  
  03/25/2019  02:34 PM               658 .gitconfig
                 1 File(s)            658 bytes
                 0 Dir(s)  2,908,136,849,408 bytes free
  </code></pre>
  
  <p>What am I missing?</p>