brew install and brew update hang with error: 'refs/remotes/origin/master': unknown revision or path not in the working tree.
මේ lines දෙක use කරන්න.
rm -fr $(brew --repo homebrew/core) # because you can't brew untap homebrew/core
brew tap homebrew/core