I store my notes (encrypted with a password) on OneDrive.
See https://edna.arslexis.io/help-win#storing-notes-on-disk
I even have a settings option for a daily backup which exports all notes into a single .zip file in `backups` sub-directory. Not sure if it makes much sense, but it's there.
Store notes on disk (https://edna.arslexis.io/help-win#storing-notes-on-disk) and you can auto commit the whole directory with git.
Personally I store my notes (encrypted with a password) on directory managed with OneDrive.
Edna also auto-saves files.