title: How to move folders in github repo from sub-folder to parent folder and delete the now empty sub-folder?
body: <p>I am taking an online course, and my repository for that course is as follows -</p>
  
  <ul>
  <li>Course Repo
  
  <ul>
  <li>Course Term 1
  
  <ul>
  <li>Project 1</li>
  <li>Project 2</li>
  <li>Project 3</li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>I initially planned to add additional Terms under the same parent folder/repo of "Course Name". Instead, I decided to have different repos for different Terms. So now I want the above to be structured like -</p>
  
  <ul>
  <li>Course Term 1 Repo
  
  <ul>
  <li>Project 1</li>
  <li>Project 2</li>
  <li>Project 3</li>
  </ul></li>
  </ul>
  
  <p>What's the best way to do the above? Should I just cut-paste the Project folders under the now renamed "Course Name Term 1" folder, and then delete the now empty "Course Term 1" folder and the commit and push? Or is there a better (elegant) way to do this via git? I don't want to lose commit history or anything that "breaks anything" for me.</p>