I have a git repo which has some subdirectories:
~/src
~/src/.git
~/src/mystuff
~/src/otherstuff
Now I want to share src/otherstuff with someone else. They should be able to clone it and push changes in otherstuff, but I don't want them to be able to access src, commits in mystuff nor even see that they exist.
How do you go about this with git?