title: How do I update Homebrew?
body: <p>When I ran:</p>
  
  <pre><code>brew update
  </code></pre>
  
  <p>I got a message saying it initialized an empty repository in <code>/usr/local/.git/</code>, then I got this error:</p>
  
  <p><img src="https://i.stack.imgur.com/UVOco.png" alt="Screenshot"></p>