Git and XCode 14
September 14, 2022
I found that git failed to work after upgrading to XCode 14 and Monterey 12.6. I found myself in an endless loop of trying to install the command line tools.
The solution was to actually open XCode 14 and allow it to perform its installation of the MacOS SDK. Then, git worked again.