GitStore implements a versioned data store based on the revision management system Git. You can store object hierarchies as nested hashes, which will be mapped on the directory structure of a git repository. GitStore checks out the repository into a in-memory representation, which can be modified and finally committed.
Gemfile gem 'git_store', '~> 0.3.1'
install gem install git_store -v 0.3.1