cd ~/project-dir
yolt watch
Then if something gets deleted or overwritten: yolt restore path/to/file.ext
When you start watching a directory, it takes an initial snapshot. After that, it continuously captures changes and keeps a rolling history (default 30 minutes, configurable time window and disk space caps), so you can restore earlier versions.
Memory-safe, low overhead for a long-running foreground process, easy cross-platform path when Linux support is added.