Git doesn't work on MacOS Catalina: "xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing" [duplicate]
Solution 1:
You'll need to reinstall the command line tools:
$ xcode-select --install
You'll need to reinstall the command line tools:
$ xcode-select --install