I have updated Xcode version to 7.3.1.when I use 'git status
',I find an error! as follow:
$git status
sh: line 1: 1601 Segmentation fault: 11 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk / -find git 2> /dev/null
git: error: unable to find utility "git", not a developer tool or in PATH
Thank you advanced!
The best solution will be to download and install it - even that you assume it is already installed: https://git-scm.com/download/mac