What Is WordGit
WordGit is an open-source desktop add-in that brings full local Git version control and multi-person collaboration to .docx documents in Microsoft Word and WPS Writer.
Without leaving the editor you know and without typing a single Git command, you can commit version snapshots, have AI write commit messages, look back through and compare history, merge drafts returned by your advisor, and sync with remote repositories.
Why WordGit
When writing a thesis, a research paper, a project proposal or a contract, the traditional way of managing versions quickly turns into a pile of file copies that is hard to keep track of:
| Common pain point | Manual copies | The WordGit way |
|---|---|---|
| File names spiral out of control | Copies like thesis_final_v2_advisor_comments_REALLY_final.docx everywhere | You always keep a single main document; all history is archived as a commit tree |
| You can't remember what changed | Open an old file a week later and have no idea which version changed Chapter 3 | Every commit records a title and key points, with offline or AI-generated change summaries |
| Advisor feedback is hard to merge | You kept editing locally while the draft was out for review, so you compare and copy paragraph by paragraph by eye | Automatically uses the version you sent for review as the base to build a native Word merged draft with tracked changes, which you confirm item by item in the pane |
| Versions eat up your disk | A thesis full of high-resolution figures grows by tens of MB with every saved copy | Content-based chunk deduplication plus periodic background compression: identical images and data are stored only once |
| Several people take turns editing | Files bounce back and forth over chat and email, and someone's changes easily get overwritten | Connects to GitHub / Gitee / your own Git server to fetch, pull and push per project |
Core design principles
- Native editing experience: all common actions live in the WordGit ribbon tab at the top and the task panes on the left and right, and the interface follows Word's light or dark theme automatically.
- Your document's structure stays intact: history is stored separately in Git repositories in the data folder, so nothing is injected into your document, and the original file always opens normally even without the add-in.
- Chunk deduplication and safe recovery: the local core engine
wordgit, written in Rust, handles all Git storage, semantic diffs, crash recovery and networking; replacing the working document uses a two-phase atomic operation, so even if the editor crashes, the file is restored automatically on the next start. - Consistent across editors and platforms: Microsoft Word (Windows) and WPS Writer (Windows / Linux / macOS) share the same Rust core engine and Git repository format, so history is fully interchangeable; settings such as the interface language, commit author and AI summary are also stored by the kernel and shared by both editors.
- English and Chinese interface: the ribbon, panes and dialogs are available in English and Simplified Chinese, follow the system language by default, and can be switched in Settings.
Scope and limitations
Before you start, it helps to know where WordGit fits:
- Supported format:
.docxdocuments on a local disk. Documents protected with an open password must have the password removed before committing. - Cloud-drive folders: previewing and saving old versions work on any locally synced copy; but for switching branches, restoring in place, pulling or finishing a merge, keep the document in a purely local folder outside real-time cloud-sync folders such as OneDrive / Nutstore (坚果云), to avoid conflicts caused by cloud-drive file locks.
- Collaboration model: designed for asynchronous collaboration through versioned commits and tracked-change review, not real-time co-editing on the same screen.
Why not just manage .docx with a regular Git client?
Many users with a programming background have tried git add *.docx for Word documents, only to run into three major problems quickly. These are exactly the problems WordGit is built to solve:
| Aspect | A regular Git client managing .docx directly | WordGit |
|---|---|---|
| Readable diffs | A .docx is really a compressed XML package, so a plain git diff only says Binary files differ and you can't tell which paragraph changed | A built-in .docx semantic parser extracts section / table / comment summaries, and one click runs Word's or WPS's native comparison to highlight every insertion and deletion |
| Divergence and merging returned drafts | As soon as two people edit at the same time or an external returned draft comes in, Git reports a binary conflict and you can only keep one side and discard the other | Automatically finds the common ancestor (the version sent for review) and builds a native merged draft with tracked changes that preserves both sides' formatting and comments, which you accept or reject item by item in the pane |
| Size growth over many versions | Even a small edit changes the whole byte stream after recompression, so the repository size balloons with each commit | Content-based chunked snapshots and cross-document deduplication within a project store unchanged images and media chunks only once, with automatic incremental compression when idle |
Platform and editor support matrix
| Feature | Word (Windows) | WPS Writer (Windows) | WPS Writer (Linux x86_64) | WPS Office (macOS) |
|---|---|---|---|---|
| Commits, branches and history | Full support | Full support | Full support | Full support |
| Offline semantic summary and AI commit assistant | Full support | Full support | Full support | Full support |
| Merging advisor feedback and divergent tracked changes | Word native compare & merge | WPS native compare & merge | WPS native compare & merge | WPS native compare & merge |
| Left-side Project pane and multi-document projects | Full support | Full support | Full support | Full support |
| English / Chinese interface and shared settings | Full support | Full support | Full support | Full support |
| GitHub / Gitee / self-hosted Git sync | Full support | Full support | Full support | Full support |
| Automatic download of lightweight MinGit | Supported (including mirrors in China) | Supported (including mirrors in China) | Uses Git from the system package manager | Uses Xcode / Homebrew Git |
