I tried to update my system and received this message.
==> Downloading and installing Homebrew...
remote: Enumerating objects: 960, done.
remote: Counting objects: 100% (960/960), done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 1499 (delta 953), reused 951 (delta 950), pack-reused 539
Receiving objects: 100% (1499/1499), 425.07 KiB | 28.34 MiB/s, done.
Resolving deltas: 100% (1144/1144), completed with 234 local objects.
* [new branch] dependabot/bundler/Library/Homebrew/rubocop-1.6.1 -> origin/dependabot/bundler/Library/Homebrew/rubocop-1.6.1
* [new branch] dependabot/bundler/Library/Homebrew/sorbet-0.5.6173 -> origin/dependabot/bundler/Library/Homebrew/sorbet-0.5.6173
3e53d5ba7..7d46fb8f7 master -> origin/master
* [new tag] 2.7.0 -> 2.7.0
HEAD is now at 7d46fb8f7 Merge pull request #10106 from samford/strategy-handle-redirections-open-uri
homebrew-core is a shallow clone.
homebrew-cask is a shallow clone.
To `brew update`, first run:
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask fetch --unshallow
This restriction has been made on GitHub's request because updating shallow
clones is an extremely expensive operation due to the tree layout and traffic of
Homebrew/homebrew-core and Homebrew/homebrew-cask. We don't do this for you
automatically to avoid repeatedly performing an expensive unshallow operation in
CI systems (which should instead be fixed to not use shallow clones). Sorry for
Failed during: /usr/local/bin/brew update --force