Leaving this link here… because… i kinda always forget the path!
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout selfsigned.key -out selfsigned.crt
1. Move folder to it’s own branch
git subtree split -P name-of-folder -b name-of-new-branch
2. Initialize the new Repository
git checkout new-repository-url
git pull path-to-big-repository name-of-new-branch
And that’s it, pretty much!