I recently stumbled across an older article titled Using Git as a versioned data store in Python by @jwiegley.

Basically, it’s a module similar to Python’s shelve which stores your data in a Git repository. Nicely done.

The repository is part of his git-issues project at http://github.com/jwiegley/git-issues.

(There’s also a similar project in Ruby, GitStore http://github.com/georgi/git_store, worth looking into.)