With a non-standard origin, Homebrew won't update properly. You can solve this by setting the origin remote: code example
Example: With a non-standard origin, Homebrew won't update properly. You can solve this by setting the origin remote:
cd /usr/local/Homebrew/Library/Taps/homebrew/
rm -rf homebrew-core
git clone https://github.com/Homebrew/homebrew-core.git