@turnermm that does not answer OP's question.
@gozzilli see
https://www.dokuwiki.org/faq:backup for what we recommend to back up and why. That should give you an idea what to check in, but in the end that depends on what goal you're trying to achieve. Basically DokuWiki has it's on versioning system, checking in your data would simply just double that.