There is a Guardian article about the dilemma when there has been possible use on generative AI to create student essays. It presents it as a hard problem for students to prove they really authored a document, and for educators to decide who to punish.
Version control is ubiquitous in the software world and can be used to demonstrate authorship in academic writing. I am most familiar with git, and a git repository of a document creation process, with commits on save and pushed to a university controlled server or github/bitbucket a few times would seem to provide ample evidence that the document was created by a human. Other options may be less refined but I know google docs has much if not all of the required functionality and I would assume that the cloud based version of Microsoft Office has something similar.
Would a student ensuring they had such evidence available protect them against such allegations? Would university rules or recommendations for students to do so help to combat cheating?