When comparing Gitit vs Xwiki, the Slant community recommends Gitit for most people. In the question“What are the best multi-user wikis?” Gitit is ranked 4th while Xwiki is ranked 13th. The most important reason people chose Gitit is:
Giti has a multitude of formats that it allows to be exported, including LaTeX, ConTeXt, DocBook, RTF, OpenOffice ODT, and MediaWiki markup.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Lots of export formats
Giti has a multitude of formats that it allows to be exported, including LaTeX, ConTeXt, DocBook, RTF, OpenOffice ODT, and MediaWiki markup.
Pro Supports markdown
Getit supports markdown, a plain text formatting syntax that is designed so that it can be read by HTML.
Pro Free and open source software (FOSS)
Licensed under GPLv2 so you can download source code and customize to meet your needs, provided that you know or are willing to learn Haskell.
Pro Can be used collaboratively by multiple people
Pro Renders math
Using MathJax.
Pro Extensions
More than 600 extensions are available.
Pro Playground
You can try out XWiki in the Online Playground.
Pro Hosted
Cloud and Hosted offers are available.
Cons
Con Requires Haskell
On some Linux platforms a binary package for Haskell may not be included in the standard repositories. So, it will be necessary to compile Haskell from source code or find a non-standard package repository, which may seem like a hassle if you don't use Haskell for anything else.