The “git” command requires the command line developer tools. Would you like to install? July 21, 2023 by Tarik For me problem has resolved with: xcodebuild -runFirstLaunch