Error while adding in git after updating to new OS Mojave
Error
git: error: unable to read SDK settings for \'/Library/Developer/CommandLine
CommandLineTools is outdated. The below should fix it.
xcode-select --install