Currently I am working on a blogging system, and I hope that an article can be written together by several registered authors, thus I hope it can provide an simplified git-like version control for the articles, which may provides branching and show differences between two version of articles.
But the problem is, the articles are store in a database table, and git's version control is base on file system, thus I cannot use git directly to implement this functionality.
Could anyone give me some idea on how to design the database tables, the relative API and the high-level logic on this functionality? Thanks.