If you know enough to build mongodb/mongo, you should be able to figure out the answer to your own question using Git!