It's not perfect because the wrong keystroke sequence can cause you to lose a chunk of information in a way that goes unnoticed for a long period of time (or is just never noticed), but I run a cron job that just blindly checks in any new files and diffs into git every few minutes. It assuages at least some of my concerns about org-roam's many ways to cut myself with its magic.