Obsidian has a git plugin that I've been using for a while. It's pretty configurable for frequency of commits, and I've never had a problem with it.
It is at the end of the day a directory of Markdown files, so it's flexible with other tools. I have a bunch of things like Markdownload configured to write into various sub-directories.