Can I make parts of my private repository public?

I have my website as a private repository. I want to make parts of it public, but still keep most of it private. It’s a huge pain to keep the inner ones up to date with my main repository.

Currently i just have multiple repositories nested under my main one, listed separately on github. Is there a way I could choose certain files / folders to make public / private, or maybe give certain users permission to view those folders?

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.