title: Error installing Homebrew on a fresh Mavericks install
body: <p>Did a fresh install of <strong>Mavericks</strong> from a clean disk, installing <strong>Homebrew</strong> before updating my Ruby versions with rbenv. Getting this error: </p>
  
  <pre><code>error: unable to create file bin/brew (Permission denied)
  error: unable to create file share/man/man1/brew.1 (Permission denied)
  fatal: Could not reset index file to revision 'origin/master'.
  Failed during: git reset --hard origin/master
  </code></pre>
  
  <p>Any suggestion appreciated.</p>