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
cd $(brew --prefix) git reset --hard HEAD brew update