We have a git repository with N folders.
Repo
|-Folder1
|-Folder2
|- ...
|-FolderN
With different collaborators we would like to share a different subset of folders. Each collaborator should have access only to his allowed subset of folders. What is the "good" way to achieve this using git?