This is somewhat similar to things that I've done to source control Word DOCX files and similar archives with a tool I wrote called musdex [1].<p>It's built to be a much more generic approach to handling the top level webhook operations, so you could even potentially write an oletools-based plugin (Handler) for it and share the musdex infrastructure. (Built-in Handler is for ZIP files, which works for the more recent Office/OpenOffice formats. I wrote a custom Handler for Inform 7 files, and I started but never finished a Handler for deconstructing/reconstructing SQLite DBs for version control.)<p>[1] <a href="https://github.com/WorldMaker/musdex" rel="nofollow">https://github.com/WorldMaker/musdex</a>