Store git revisions in database.