I keep everything in obsidian (markdown) and use git, committing regularly. It simplifies a lot to alltogether avoid binary formats.

You have to manual commit right? I wish there is an automatic way of doing that, like on every save command.

There is! I use this plugin: https://github.com/denolehov/obsidian-git