I use this approach, based on danielsiegl.gitsqlite - a wrapper with some additional powers for bigger databases!