title: Git Command Execution Error: fatal: This operation must be run in a work tree
body: <p>I got this error while executing git commands in a repo.</p>
  <pre><code>fatal: This operation must be run in a work tree
  </code></pre>
  <p>Also being asked: <a href="https://stackoverflow.com/questions/9262801/fatal-this-operation-must-be-run-in-a-work-tree">fatal: This operation must be run in a work tree</a></p>