(English translation of Le Code Civil français, sous Git)
Here is a little hack, the result of an afternoon of code: the Civil Code in Git.
If one considers the law as a set of texts modified by the various assemblies of the state, one can consider them as a set of text files created collaboratively.