XCode 14: git broken
After updating to latest Xcode (14, 14A309) the git command line has stopped working. A dialog appears saying command line tools needs to be installed. Doing so, by clicking Install, doesn't solve anything. In Terminal I get a backtrace, see attached. I'm on a Macbook 2017. What is the fix?
MacBook, macOS 12.5