I use a web based wiki, #foswiki. Though that may not be the best tool and I will probably move to something else sooner or later.
#gitea also has wikis that you can check update with git commits. That might be what I end up switching to as then I would have a command line interface if I wanted or use the web interface.
We are already using #gitea, so that's a strong contender.