Is there a way to extract records from a spare account with a complete history?


I have a repo with lots of Visual Studio projects that I want to extract to their own solution and repo but I don't want to loose history.

Is there a way to create a repo from the current one with full history but only the folders I choose?

I could clone the repo and remove what I don't want, but I was hoping to save some space.

The process is described here. If you do not need to work with GitHub (or any other hosting service), steps 1 to 5 should suffice.