How do I update Homebrew?

When I ran:

brew update

I got a message saying it initialized an empty repository in /usr/local/.git/, then I got this error:

Leave a Comment