title: Trouble setting up git with my GitHub Account error: could not lock config file
body: <p>I'm getting this error when trying to set the global config:</p>
  
  <pre><code>$ git config --global user.name "Your Name Here"
  error: could not lock config file /pathto/file/.gitconfig: No such file or directory
  </code></pre>
  
  <p>and the file .gitconfig is already exists, anyone have any ideas?? </p>