Zim Wiki https://zim-wiki.org/
Desktop wiki, saving to .md text files, can commit to git repo and has basic task handling.
Perfect for me.
Zim can be used to:
Keep an archive of notes
Keep a daily or weekly journal
Take notes during meetings or lectures
Organize task lists
Draft blog entries and emails
Do brainstorming