Macでbrew updateした際に
homebrew-core is a shallow clone.
というエラーが表示される場合の対処法を紹介します。
対処コマンド
git -C "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core" fetch --unshallow
上記コマンドを実行するだけとなります。
原因は、homebrewがこれまでshallow cloneを使っていたのを完全なcloneに移行したのが原因のようです。
同じく、homebrew-caskを利用している方は下記を実行すればOKです。
git -C "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask" fetch --unshallow

brew updateしてみる

エラーが出ずに、updateできました。
同じ状況の方がいたらお試しください。