Update the git versions used in the macos-12-xcode-14 image as that git version is vulnerable to CVE-2022-23521 and CVE-2022-41903)