Detaching subdirectory into it's own GIT repository

  1. Move folder to it’s own branch
git subtree split -P name-of-folder -b name-of-new-branch
  1. 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!