Have you ever created a Git repository and then later realised you created it in the wrong level of the folder structure.
Until now, I have dropped the repo and started again but the problem with that is loss of change history.
I show you how to change the folder level of your Git repository without losing any history. In fact, the history that is added as a result of this process is indicative of the changes you made.
I show you by using WordPress as an example. Instead of just storing the WordPress theme in the repository, I want to go higher up the folder structure and include the plugins and uploads too.
But this process can be applied to any folder structure. And it's so easy.