For example, if I want to collaborate on making a (non-computer related) textbook with someone, and we want to use git as a version control system. Should we use github/codeberg for this or is there a platform that’s more suitable for using git in nontechnical contexts?


If you’re into self hosting and you want to collaborate with other writers, there’s Bookstack
interesting. how does it do with collaboration? the guy im working with has no tech knowledge really so i dont want to make it too complicated for him
It’s been quite a few years since I used it, but iirc users log in and have access to the chapters and pages that already exist, so they are able to edit them as they see fit. Likewise they can create new chapters and/or pages that would be accessible to other users. Writing is done on a wysiwyg interface like with word processor apps. I recall it being pretty easy to use, so less tech-savvy users who can write a word doc should not have too many issues.
Overleaf also has a self-hosted option in case you want to collaborate in LaTeX projects.