A .docx file is a zip containing a one or more .xml files that describe the document. I once had the idea of of giving meaningful names to images in one...after all, it&#x27;s xml and xml is just text and supposed to be human readable. It isn&#x27;t. Word documents are rather complex, that&#x27;s where the &quot;one or more .xml files&quot; comes in. It&#x27;s why Microsoft built its own open standard back in the aughts when Sun was arguing that OpenDoc was good enough, i.e. Microsoft would have had to remove functionality from Office to implement it.<p>Which is to give some background on why .docx -&gt; .md -&gt; .docx might not do what users want it to do, if what users want at the end is what they put in at the beginning or something close to it. Markdown simply does not contain as much information as .docx. Even &quot;only&quot; going to .html will probably be a mess: last time I dealt with an html file generated from Word, it was full of local markup &lt;span&gt;&#x27;s, but it might have become better since it&#x27;s been a while.<p>Anyway, if I were trying to version track .docx files, I&#x27;d probably do something like unzip -&gt; commit -&gt; zip and forget about trying to read diffs in the repository.<p>Good luck.