X.org inherited the XFree86 version numbering scheme:
The version numbering format is M.m.P.s, where M is the major version number, m is the minor version number, P is the patch level, and s is the snapshot number. Full releases have P set to zero, and it is incremented for each subsequent bug fix release on the post-release stable branch. The snapshot number s is present only for between-release snapshots of the development and stable branches.
Immediately after forming a release stable branch, the patch level number for the main development branch is bumped to 99, and the snapshot number is reset. The snapshot number is incremented for each tagged development snapshot. The GIT tag for snapshots is "xorg-
Here's an example which shows the version number sequence for the development leading up to version 4.1.0:
4.0.99.1
4.0.99.23
4.0.99.900
4.0.99.903
4.1.0
4.1.99.1
After a full release, the stable branch for the release will be maintained with bug fixes and important updates until the next full release. All snapshots on this branch are considered "release candidates", so the first is indicated by setting s to 901. The snapshot number is then incremented for each subsequent release candidate until the update release if finalised. The patch level value (P) is incremented for each update release.
Here's an example which shows the version number sequence for the 4.1.x stable branch.
4.0.99.900
4.0.99.903
4.1.0
4.1.0.901
4.1.0.903
4.1.1
4.1.1.901
4.1.2