title: Git warning: unable to access '/home/user/.gitconfig': Is a directory
body: <p>I am getting this error for every git command I try to run and haven't found anywhere something similar. I have found stuff like "permission denied" and other problems to access the git configurations but nothing related to this "Is a directory" warning. I don't even know if it is related to the fatal error I am getting, but it is all the information I currently have.</p>
  
  <pre><code>user@computer:~/folder$ git status
  warning: unable to access '/home/user/.gitconfig': Is a directory
  warning: unable to access '/home/user/.gitconfig': Is a directory
  fatal: unknown error occurred while reading the configuration files
  </code></pre>