I'd like to view the revision history of a Google Docs document using more flexible tools like git, and possibly migrate some content from Google Docs into a git project.
Google Docs has an API with access to the revision history, so this should be possible, for any of the variety of export formats it supports. I note though that there have been some API problems with revision history that mean that the list of contributors to each revision may not be complete, though they're considering fixing that:
sometimes there are more than one editor (for a particular revision). Yet, the API always gives me one editor per revision.
Is any code or advice on doing this available? Export to a different version control system like bzr, mercurial, svn or cvs would also be of interest.
This is related to the Stack Overflow question Version Control with Google Docs Best Practices? which was closed as off-topic there.