To fix the above error, you can run the commandbrew update-resetand then run the commandsource ~/.bash_profileto activate it. (base) songs-MacBook-Pro:Downloads songzhao$ brew update-reset ==> Fetching /usr/local/Homebrew... fatal: unable to access 'https://github.com/Homebrew/brew/'...