Is there a way to version control documents like git? I want to be able to let users update a document, while allowing them to use previous versions if needed.
Daniel Coupal, one of our curriculum engineers, created a blog post that discusses this very problem. Please see: https://www.mongodb.com/blog/post/building-with-patterns-the-document-versioning-pattern
The Document Versioning Pattern is just one option among many. A free MongoDB University course is available that dives much more into all the patterns if you’re interested: