I dug a little after trying to deal with the git repo, but the simplest thing that fixed it for me was untapping and then retapping the casks repo
brew untap homebrew/cask
brew tap homebrew/cask
that put everything back in order.
I haven’t RTFM’d lately, but I’m guessing this has something to do with how casks seem to be moving into the main homebrew repo (or at least that’s how it seems as a naive user).