title: Are there any side effects to moving ".git" to a parent directory?
body: <p>I recently ran into an issue where I needed to <a href="https://stackoverflow.com/questions/8718890/how-do-i-expand-a-git-repository">expand my git repository</a>. The first idea I had was to move <code>.git</code> to a new location. I went through a couple of relevant posts and I was a bit surprised no one else brought it up.</p>
  
  <p>Consider the following directory structure:</p>
  
  <pre><code> - root
   - a
     - ...
   - b
     - .git
     - ...
  </code></pre>
  
  <p>If I wanted to expand my repo to include everything in <code>root</code>, why not just move <code>.git</code> there? Is that a good or a bad idea? Will doing this keep my commit history intact? What are some potential side effects?</p>
  
  <p>I would like to know what could potentially go wrong if I were to try this. </p>