git-backed publishing for HTML and Markdown (opens in new tab)
Every publish and every tot update saves a version. Each version is a git commit. Its id is the content hash, the git SHA of the bytes. Identical content gets the same hash, and the whole history is kept. Nothing is overwritten.
Read the original article