title: How to move a git repository into another directory and make that directory a git repository?
body: <p>I have a directory <strong>gitrepo1</strong>. This directory is a git repository.</p>
  
  <ul>
  <li><p>I would like to move this <strong>gitrepo1</strong> into another directory <strong>newrepo</strong>.</p></li>
  <li><p>Directory <strong>newrepo</strong> should be the new git repository with no loss of git history and should contain the directory <strong>gitrepo1</strong>.</p></li>
  <li><p>Directory <strong>gitrepo1</strong> should just be a directory now (inside <strong>newrepo</strong>), without any <code>.git</code> index, i.e. it should NO longer be an independent git repository or a submodule.</p></li>
  </ul>
  
  <p>How can I do this?</p>