How can I check, in a bash script, if currently homebrew-core and homebrew-cask are shallow clones and unshallow them if they are? If they are already
homebrew-core
homebrew-cask