Private folder in public repository
Solution 1:
No, you cannot have different public/private settings within one repository. The closest thing I can think of would be to keep the repositories separate and use submodules to create a unified directory tree, but I can’t judge if that makes sense for your workflow.