Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Git
Git

33.9K
27.1K
+ 1
6.6K
Mercurial
Mercurial

181
139
+ 1
78
Add tool

Git vs Mercurial: What are the differences?

What is Git? Fast, scalable, distributed revision control system. Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

What is Mercurial? A distributed version control system. Mercurial is dedicated to speed and efficiency with a sane user interface. It is written in Python. Mercurial's implementation and data structures are designed to be fast. You can generate diffs between revisions, or jump back in time within seconds.

Git and Mercurial can be primarily classified as "Version Control System" tools.

"Distributed version control system" is the top reason why over 1441 developers like Git, while over 15 developers mention "Easy-to-grasp system with nice tools" as the leading cause for choosing Mercurial.

Git is an open source tool with 28.1K GitHub stars and 16.3K GitHub forks. Here's a link to Git's open source repository on GitHub.

According to the StackShare community, Git has a broader approval, being mentioned in 3932 company stacks & 4776 developers stacks; compared to Mercurial, which is listed in 26 company stacks and 16 developer stacks.

- No public GitHub repository available -

What is Git?

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

What is Mercurial?

Mercurial is dedicated to speed and efficiency with a sane user interface. It is written in Python. Mercurial's implementation and data structures are designed to be fast. You can generate diffs between revisions, or jump back in time within seconds.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Git?
Why do developers choose Mercurial?

Sign up to add, upvote and see more prosMake informed product decisions

Sign up to add, upvote and see more consMake informed product decisions

Jobs that mention Git and Mercurial as a desired skillset
What companies use Git?
What companies use Mercurial?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Git?
What tools integrate with Mercurial?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to Git and Mercurial?
GitHub
GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
SVN (Subversion)
Subversion exists to be universally recognized and adopted as an open-source, centralized version control system characterized by its reliability as a safe haven for valuable data; the simplicity of its model and usage; and its ability to support the needs of a wide variety of users and projects, from individuals to large-scale enterprise operations.
Bitbucket
Bitbucket gives teams one place to plan projects, collaborate on code, test and deploy, all with free private Git repositories. Teams choose Bitbucket because it has a superior Jira integration, built-in CI/CD, & is free for up to 5 users.
Perforce
Visibility, access control, workflow and code management for Git environments. Flexibility of collaborating on the same codebase and code reviews using any combination of Perforce and Git workflows and tools without compromise.
GitLab
GitLab offers git repository management, code reviews, issue tracking, activity feeds and wikis. Enterprises install GitLab on-premise and connect it with LDAP and Active Directory servers for secure authentication and authorization. A single GitLab server can handle more than 25,000 users but it is also possible to create a high availability setup with multiple active servers.
See all alternatives
Decisions about Git and Mercurial
rishig
rishig
Head of Product at Zulip · | 4 upvotes · 23.5K views
atZulipZulip
Git
Git
SVN (Subversion)
SVN (Subversion)

I use Git instead of SVN (Subversion) because it allows us to scale our development team. At any given time, the Zulip open source project has hundreds of open pull requests from tens of contributors, each in various stages of the pipeline. Git's workflow makes it very easy to context switch between different feature branches.

See more
Tim Abbott
Tim Abbott
Founder at Zulip · | 7 upvotes · 22.4K views
atZulipZulip
Git
Git
Mercurial
Mercurial

I've been excited about Git ever since it got a built-in UI. It's the perfect combination of a really solid, simple data model, which allows an experienced user to predict precisely what a Git subcommand will do, often without needing to read the documentation (see the slides linked from the attached article for details). Most important to me as the lead developer of a large open source project (Zulip) is that it makes it possible to build a really clean, clear development history that I regularly use to understand details of our code history that are critical to making correct changes.

And it performs really, really well. In 2014, I managed Dropbox's migration from Mercurial to Git. And just switching tools made just about every common operation (git status, git log, git commit etc.) 2-10x faster than with Mercurial. It makes sense if you think about it, since Git was designed to perform well with Linux, one of the largest open source projects out there, but it was still a huge productivity increase that we got basically for free.

If you're learning Git, I highly recommend reading the other sections of Zulip's Git Guide; we get a lot of positive feedback from developers on it being a useful resource even for their projects unrelated to Zulip.

See more
Visual Studio Code
Visual Studio Code
GitHub
GitHub
Linux
Linux
JavaScript
JavaScript
Swift
Swift
Java
Java
PHP
PHP
Python
Python
XML
XML
JSON
JSON
Git
Git
SVN (Subversion)
SVN (Subversion)

I use Visual Studio Code because at this time is a mature software and I can do practically everything using it.

  • It's free and open source: The project is hosted on GitHub and it’s free to download, fork, modify and contribute to the project.

  • Multi-platform: You can download binaries for different platforms, included Windows (x64), MacOS and Linux (.rpm and .deb packages)

  • LightWeight: It runs smoothly in different devices. It has an average memory and CPU usage. Starts almost immediately and it’s very stable.

  • Extended language support: Supports by default the majority of the most used languages and syntax like JavaScript, HTML, C#, Swift, Java, PHP, Python and others. Also, VS Code supports different file types associated to projects like .ini, .properties, XML and JSON files.

  • Integrated tools: Includes an integrated terminal, debugger, problem list and console output inspector. The project navigator sidebar is simple and powerful: you can manage your files and folders with ease. The command palette helps you find commands by text. The search widget has a powerful auto-complete feature to search and find your files.

  • Extensible and configurable: There are many extensions available for every language supported, including syntax highlighters, IntelliSense and code completion, and debuggers. There are also extension to manage application configuration and architecture like Docker and Jenkins.

  • Integrated with Git: You can visually manage your project repositories, pull, commit and push your changes, and easy conflict resolution.( there is support for SVN (Subversion) users by plugin)

See more
Interest over time
Reviews of Git and Mercurial
No reviews found
How developers use Git and Mercurial
Avatar of papaver
papaver uses GitGit

been an avid git user for over 6 years. was a little hard to grasp coming from the world of perforce but once it hit me that it was just a glorified patch manager everything fell into place. mainly use the command line interface, most ui's feel bulky and weak.

Avatar of Scrayos UG (haftungsbeschränkt)
Scrayos UG (haftungsbeschränkt) uses GitGit

Git has rendered itself to be an integral part of all development at JustChunks. We heavily rely on Git as our version-control-system of choice and use branches, tags and decentralized-development to achieve our software-management-goals.

Avatar of Mountain Stream Software
Mountain Stream Software uses GitGit

the next generation of version control, all others follow older outdated models. Open Source, no fees to use. Can hoist up your own internal server. Can live on a thumb drive. Developers can share from any OS.

Avatar of Jonathan Bro
Jonathan Bro uses GitGit

I use Git because there is nothing else that seems better for backup and working with other developers. However, the learning curve is high and there are times when non-developers must also know how to use git.

Avatar of Eldoria
Eldoria uses GitGit

Git ist ein essentieller Bestandteil unserer Entwicklungsteams. Sei es zur Versionskontrolle, Backupen von Code, dem gemeinsamen arbeiten an Projekten. Durch Git Flow haben wir eine effektive Arbeitsweise.

Avatar of IVS
IVS uses MercurialMercurial

We now use only git. Getting out mercurial was a pain.

Avatar of Tino Gehlert
Tino Gehlert uses MercurialMercurial

Easier and more suitable for small projects than git

Avatar of Tino Gehlert
Tino Gehlert uses MercurialMercurial

Easier and more suitable for small projects than git

Avatar of GadgetSteve
GadgetSteve uses MercurialMercurial

User friendly python distributed VCS

Avatar of WeeBull
WeeBull uses MercurialMercurial

Source Control

How much does Git cost?
How much does Mercurial cost?
Pricing unavailable
Pricing unavailable
News about Mercurial
More news