git commands fail on El Capitan with “xcrun: error: invalid active developer path…missing xcrun”

If you are using¬†OS X El Capitan, and trying to run any Git commands results in an error like: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun…
Continue Reading