Libostree
ostreedev.github.io
ostreedev.github.io
> libostree (previously OSTree) is a system for versioning updates of Linux-based operating systems. It can be considered as "Git for operating system binaries". It operates in userspace, and will work on top of any Linux file system. At its core is a Git-like content-addressed object store with branches (or "refs") to track meaningful file system trees within the store. Similarly, one can check out or commit to these branches
You could see as Git for operating system binaries. You can pull new versions and the currently booted system is a checkout.
It provides many benefits, like atomic updates/rollbacks, integrity checking, signed commits, etc.
Some distributions use OSTree, like Fedora Silverblue and CoreOS. Flatpak also uses OSTree as its store.
Nix/Guix is a package manager that does a lot more than OSTree, such as building packages from source and composing multiple packages into a full system.
But mind you; I'm quite sure it still uses overlayfs or device mapper snapshots for the root filesystem.