title: Move file and directory into a sub-directory along with commit history
body: <p>How can I move a directory and files to a sub-directory along with commit history?</p>
  
  <p>For example:</p>
  
  <ul>
  <li><p>Source directory structure: <code>[project]/x/[files &amp; sub-dirs]</code></p></li>
  <li><p>Target directory structure: <code>[project]/x/p/q/[files &amp; sub-dirs]</code></p></li>
  </ul>