A pure ruby implementation of Git - unmaintained.  See grit for an active project that has inherited much of this code.