Extracts subdirectories of a Git repository into smaller and separate repositories.