I've never believed that the web is a natural place for applications, so I am amused that you want a wiki to work offline - a typical webhead contradition. Having said that, I think aspects of Tiddlywiki may have some of these features.
Given a Wikis job and audience, its obvious that using only HTML isn't practical. You are denying the need for a DSL for a domain specific job. I accept that many users are just going to use the full GUI anyway, so don't care either way.
I use Confluence and its slow, organised a bit haphazardly and it definitely is a bit "enterprisey". But its easy to do the basics, and you can learn it iteratively. That matters - complexity that can be uncovered at the users own pace is fine.
But Confluence is certainly full of strangeness. URLs tend to ignore folder hierarchy. Search also appears to ignore hierarchy (hence, I can't search for tags in sub pages - only in "spaces"). Access to CSS or templates is vague.
So by all means get with git - but don't forget what job wikis are supposed to do, as opposed to just what you would like them to do.