Skip to content
Washington DC metro as git commits
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.



git commit -m "Branch Ave"

An isomorphically equivalent rendering of the Washington DC Metrorail as a series of git commits.


Well, the graphical previews of branches are often described as train tracks... so why not make a metro system out of commits?

View the Metro

  • Online with GitHub network graph

  • Graphically with gitk

  • As ASCII git log --oneline --graph --decorate --all

Creating the Metro

Run in a repo with an existing master branch. An empty initialized repo cannot be used as-is. (An empty repo can be used if the master branch is renamed instead.)

Note, this uses orphan branches for each of the Metro lines. Also, for lack of anything to put into the repository itself, the actual commits contain no files (incidentally, this makes for no merge conflicts!). The ours merge strategy is used to force merges of unrelated branches.

You can’t perform that action at this time.