Comparison

Git vs Mercurial

No leader: the top candidate Mercurial has only 0.14 confidence (low), below the 0.35 needed to declare a winner. The attribute-by-attribute breakdown below, with a source and date on every value, is the honest way to compare them.

Machine formatsJSONMarkdownGraphQLor send Accept: application/json
Git58
Mercurial64
Score
Vioscale score
Git58 / 100low · 34%updating
Mercurial64 / 100low · 14%updating
Pricing
Free tier
Git
Mercurial
Model
Mercurialfree
Price level
Gitfree
Mercurialfree
Transparent
Git
Mercurial
Adoption
Dependent repos
Git326
Mercurial
Github stars
Mercurial
Package downloads weekly
Git
Mercurial86,972
Activity
Commits last 30d
Git100
Mercurial
Language
Primary
GitC
MercurialPython

Capabilities

Feature-by-feature on the axes that matter for version control. “-” means undocumented, not absent.

Model
VCS model
GitDistributed
MercurialDistributed
Underlying VCS supported (Git / Mercurial / SVN / Perforce / multiple)
GitGit
MercurialMercurial
Deployment
Hosting
GitSelf-hosted only
MercurialSelf-hosted only
Review
Code review
GitNone (engine only)
MercurialNone (engine only)
Storage
Large-file / binary handling
Git-
Mercurial-
Scale
Monorepo scale (partial clone / sparse / VFS)
Git-
Mercurial-
DevOps
Built-in CI
Git
Mercurial
Access
Access control granularity
Git-
Mercurial-
Federation
Federation / decentralisation (ActivityPub / email)
Git
Mercurial-
Licensing
Open-source core
GitOpen-source
MercurialOpen-source
Self-managed license model
GitFree
MercurialFree
Integration
API surface (REST / GraphQL / webhooks)
Git-
MercurialCLI
Enterprise
SSO / SAML / SCIM
Git-
Mercurial
Security
Signed commits / supply-chain (GPG / SSH / sigstore)
Git-
Mercurial-

What each one is

The product in its own terms, so the numbers below have context.

Git

A distributed version control system built for speed and efficiency, widely used by developers to track code changes and manage project history. Available as free and open source software under GPLv2.

Independently observed

Mercurial

Mercurial is an open-source, distributed version control tool designed to efficiently handle projects of any size. It provides each developer with a complete copy of the project history, enabling fast local operations and flexible collaboration workflows.

Independently observed

Pricing

List pricing as published by each vendor, with the date we read it. Always verify at the source before you buy.

Git

Open sourceFree tier

Free and open source

as of verify ↗

Mercurial

FreeFree tier
as of verify ↗

Platform & deployment

Where each product runs and how it can be hosted. A dash means undocumented, not unsupported.

Platforms
macOS
Git
Mercurial
Windows
Git
Mercurial
Linux
Git
Mercurial
CLI
Git
Mercurial
Deployment
Self-hosted
Git
Mercurial

Comparison generated from independently-sourced facts. Every value links to its source and retrieval date. See the method.