During the installation of brew, a git repository is downloaded to /usr/local/Homebrew.
brew updateupdates this git repositorybrew upgradeupgrades the packages to match the versions in the updated git repository
During the installation of brew, a git repository is downloaded to /usr/local/Homebrew.
brew update updates this git repositorybrew upgrade upgrades the packages to match the versions in the updated git repository