Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Git and Mercurial follow similar models and have similar terminology. Mercurial's initial release was was only 12 days after Git's. How did these two projects, in initial development at the same time, end up so similar? Does anyone know the history?

share|improve this question
See also… – Martin Beckett Aug 9 '11 at 19:09
The telephone was independently invented by two people at nearly the same time, too. – whatsisname Aug 10 '11 at 1:00
up vote 7 down vote accepted

Both were necessary because of problems with bitkeeper so they were both developed at the same time to solve the same problem.

If you want a distributed version control system, that looks like bitkeeper, then from the user's point of view any implementation is going to be pretty similar. Internaly they are quite different

share|improve this answer
Well that explains it. I did a quick check of the BitKeeper commands, and it does seem like both Git and Mercurial "borrow" terminology from there. – Mike M. Lin Aug 9 '11 at 19:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.