Who doesn't want dark mode on mac!
However, after updating the macOs to Mojave, if you try to access git on your command prompt, it throws below error -
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
All you need to do is reinstall the xcode command line tool using following command -
It should run fine after that.