I recently messed up pretty badly by removing all 32-bit binaries in my Ubuntu 18.04, of course I'd forgotten to make a back-up. I've had similar issues in the past on Windows as well where I did something stupid that caused a crash in a drive or folder without having a back-up.
So I was wondering, is there a way to have a version controlled history of the entire lifetime of an OS where every update, download, change, etc. generates a new history node similar to how you would make changes using git?