And at this point the first instruction for any OSX user who downloads and compiles anything is "Install Homebrew"
They don't take much space, though, and the toolchain is treated a bit better by Apple than utilities like git, vim etc.
There are prebuilt binaries of up to date git distributed via .pkg. The yeast infection that is Homebrew is unnecessary
For example: https://github.com/Homebrew/legacy-homebrew/issues/35995