Right now, CI is broken because the version of Git on the Actions instances is 2.45.1, which breaks Git LFS, instead of 2.45.2, which is fixed. (We can expect the update to happen on Wednesday.) However, we'd expect our earliest and latest Git versions to not be affected, which is the case on Linux, but is not on macOS.
On macOS, looking at the version number printed by the latest version, which should be the latest version on the master branch, we see instead 2.45.1, which is not the right version. My guess is that this is due to the order of PATH, since presumably we've successfully installed our Git into /usr/local/bin.
In order to make our CI test what we think it's testing, we should fix our macOS jobs to run the version of Git we build unless we're using the default Git.