After an interrupted brew update
because of a network issue, Homebrew appears to be broken:
$ brew update
error: pathspec 'master' did not match any file(s) known to git.
Error: Failure while executing: git checkout -q master
Looking at the /usr/local
Git repository, there's no remote repository.
$ cd `brew --prefix`
$ git remote -v
$