title: Git commit problem: Unable to append to .git/
body: <p>I am unable to commit changes in my project when using git.</p>
  
  <p>Here is my terminal:</p>
  
  <pre><code>tomas@tomas-laptop:~/menu_operations$ git commit -m "initial commit"
  error: Unable to append to .git/logs/refs/heads/7.x-1.x: Permission denied
  fatal: cannot update HEAD ref
  </code></pre>
  
  <p><code>menu_operations</code> is the name of my project.</p>
  
  <p>I don't know what permission I have to allow.
  Can anybody help?</p>