You can literally just upload a library of documents to github or another repo service like codeberg. That’s basically what a code project is, a bunch of files.
The main difference being that code is typically stored in plain text files, where you can more easily compare and merge differences, while some other document types are harder to diff usefully. That doesn’t mean you can’t use git to keep their version history, it just means resolving merge conflicts might be a bitch.
You can literally just upload a library of documents to github or another repo service like codeberg. That’s basically what a code project is, a bunch of files.
The main difference being that code is typically stored in plain text files, where you can more easily compare and merge differences, while some other document types are harder to
diff
usefully. That doesn’t mean you can’t use git to keep their version history, it just means resolving merge conflicts might be a bitch.