Fixes #16; stores git updates in db