I have a private git repo for a project.
In there, a few file exist which I'd like to make available as a separate library, as they're not application specific and can be reused.
Is there a way to fork a git repo so that it contains just these few files, retaining the version history but ignoring all other files?
The other files need to be kept private, so I can't simply fork the whole repo and remove them for future commits.