Possible solution described here:
In short, you might need to install/re-install xcode-select via the following terminal command:
xcode-select
xcode-select --install