homebrew-core is a shallow clone
이런 메세지가 떴다면 에러를 해결하기 위해 친절하게 알려주는 저 명령어 그대로 치면 해결이된다.
해결 명령어 git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow