Afigitis is a project mainly written in Python, it's free.
Git backed notetaking utility
Afigitis is a tool for notetaking, using git as storage.