title: Gitconfig: Permission denied
body: <p>I wanted to edit my <code>.gitconfig</code> file to change the default editor.</p>
  
  <p>I typed <code>$HOME/.gitconfig</code> to set the correct directory and got</p>
  
  <p><code>-bash: /Users/Myself/.gitconfig: Permission denied</code>.</p>
  
  <p>Why does it happen and what does it mean? How do I get past it?</p>
  
  <p>(OS X Yosemite 10.10.4)</p>