title: "fatal: Not a git repository (or any of the parent directories)" from git status
body: <p>This command works to get the files and compile them:</p>
  
  <pre><code>git clone a-valid-git-url
  </code></pre>
  
  <p>for example:</p>
  
  <pre><code>git clone git://cfdem.git.sourceforge.net/gitroot/cfdem/liggghts
  </code></pre>
  
  <p>However, <code>git status</code> (or any other git command) then gives the above <code>fatal: Not a git repository (or any of the parent directories)</code> error.</p>
  
  <p>What am I doing wrong?</p>