You could use something like Kopia and only include the files you want
A program makes changes i many places like the profile folder, app data, registry and for linux and macOS it's different story
It seems like you're referring to dotfiles. You can manage these using a git bare repo.
example in windows chromium browser corrupts it self, and I have a image of the disk or I "only track changes for the program", so I can restore it
Could you perhaps solve it by making specific config files read-only?
datahoarder
Who are we?
We are digital librarians. Among us are represented the various reasons to keep data -- legal requirements, competitive requirements, uncertainty of permanence of cloud services, distaste for transmitting your data externally (e.g. government or corporate espionage), cultural and familial archivists, internet collapse preppers, and people who do it themselves so they're sure it's done right. Everyone has their reasons for curating the data they have decided to keep (either forever or For A Damn Long Time). Along the way we have sought out like-minded individuals to exchange strategies, war stories, and cautionary tales of failures.
We are one. We are legion. And we're trying really hard not to forget.
-- 5-4-3-2-1-bang from this thread