Regarding anything code/data:
git commit
aws ec2 create-snapshot --volume-id ...
git reset --hard
git clean -fdx
aws ec2 create-volume --snapshot-id ...
robocopy "C:\backup" "D:\project" /MIR
...
I agree there are a lot of things outside the computer that are a lot more difficult to reverse, but I think that we are maybe conflating things a bit. Most of us just need the code and data magic. We aren't all trying to automate doing the dishes or vacuuming the floors just yet.