Skip to content

Git vs SVN vs Mercurial

Git and Mercurial are distributed; SVN is centralized. Git won on speed and ecosystem.

Aspect

Git

SVN

Mercurial

Model

Distributed DAG

Centralized tree

Distributed DAG

Speed

Very fast

Medium

Fast

Branching

Cheap (pointer)

Expensive (copy)

Cheap

Ecosystem

GitHub, GitLab, etc.

Legacy

Less common

Learning curve

Steep

Shallow

Medium