title: Homebrew install fails while copying files
body: <p>I run this: </p>
  
  <pre><code>/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  </code></pre>
  
  <p>I get prompt:</p>
  
  <pre><code>==&gt; This script will install:
  /usr/local/bin/brew
  /usr/local/share/doc/homebrew
  /usr/local/share/man/man1/brew.1
  /usr/local/share/zsh/site-functions/_brew
  /usr/local/etc/bash_completion.d/brew
  /usr/local/Homebrew
  </code></pre>
  
  <p>After I click "return"(enter button) I get this error:</p>
  
  <pre><code>==&gt; Downloading and installing Homebrew...
  fatal: cannot copy '/usr/local/git/share/git-core/templates/hooks/pre-receive.sample' to '/usr/local/Homebrew/.git/hooks/pre-receive.sample': Permission denied
  Failed during: git init -q
  </code></pre>
  
  <p>Any ideas what kind of error I am facing and what can be done? It is not really clear for me as it is first time I am facing something like this. </p>