I'm really tempted to collect the XML files and put them on github, with periodic checkpoints to update it with the latest. Watching the evolution of law over time is a fascinating thing and using SW engineering tools to help would be really fun.
This is currently done via scraping: https://github.com/divegeek/uscode The diffs are huge.
https://github.com/bundestag/gesetze/commit/f90e8fc8eb20f081...
(see also: https://news.ycombinator.com/item?id=6137337)