Thanks. I mainly write in Geany, these days.
But if it's local, what's the advantage vs saving as a file? Simple revision history management?
I use git for any important private projects, and don't often use it online.
For some long lived documents I keep a "release branch" and make branches for playing around. If a direction or section isn't fruitful I can leave it on a branch without fear of losing "something good", and go back to mainline. I can also tag shared/published versions easily.
Oh and push a backup to another machine easily or automatically.