Trying to update Homebrew with brew update I got the following error
brew update
error: The following untracked working tree files would be overwrittenby me
This should work.
1. cd `brew --prefix` 2. git fetch origin 3. git reset --hard origin/master 4. sudo brew update