title: Homebrew install: Failed during: git fetch origin master:refs/remotes/origin/master -n --depth=1
body: <p>I ran the following command on terminal (Mac El Capitan) </p>
  
  
  
  <pre class="lang-none prettyprint-override"><code>$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  </code></pre>
  
  <p>and got the following error message:</p>
  
  <pre class="lang-none prettyprint-override"><code>Failed during: git fetch origin master:refs/remotes/origin/master -n --depth=1
  </code></pre>
  
  <p>Additionally tried: </p>
  
  <pre class="lang-none prettyprint-override"><code>sudo chown $(whoami):admin /usr/local &amp;&amp; sudo chown -R $(whoami):admin /usr/local
  </code></pre>
  
  <p>then the two commands above.</p>
  
  <p>Any idea how to install Homebrew? </p>
  
  <p><code>brew is not recognized</code> and <code>ruby version 2.0.0</code>, <code>git version 2.7.4</code></p>