将Mac升级到10.15.3后,git无法使用 报错:信息 xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)

解决方法: 终端中操作:

xcode-select --install