Save the commit to Mongo