If you receive the following error using GIT repository in MAC:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
You need to install xcode to solve it:
xcode-select --install