title: Command Line Tools not working - OS X El Capitan, Sierra, High Sierra, Mojave
body: <p>I just upgraded from Yosemite to El Capitan (and replicated the problem upgrading from El Capitan to Sierra), and when I try to type for example <code>git status</code> inside a terminal, I get the following error:</p>
  
  <pre><code>xcrun: error: invalid active developer path
   (/Library/Developer/CommandLineTools), missing xcrun at:
   /Library/Developer/CommandLineTools/usr/bin/xcrun
  </code></pre>
  
  <p>I don't have Xcode installed, never did. 
  Anyone have a solution?</p>