Yes! There’s a git plugin for obsidian that supposedly works very nicely. Obsidian runs locally, on desktop and mobile and also offline which is super nice. Not opensource, but all your stuff is kept in a normal folder and all notes are regular markdown. The devs have pledged to make it opensource should they ever abandon the project.