Blockchain vs. Git – a comparison

Functional comparison of Blockchain and Git

Blockchain Git
Single source of truth
Know who committed a change
Track history of an asset ✔ (asset could be a file)
Consensus ✔ (code review + unit and integration tests)
Distributed Ledger ✔ (the ledger is called repository in this case)

What gives?

  • In blockchain there is no master ledger whereas in Git there is arguably a master repository even though Git is called a distributed version control system
  • Blockchain can execute a smart contract when a transaction is submitted whereas Git by itself does not execute anything when a pull request is submitted
  • Consensus is automated and built into the blockchain. If we think of executing tests in Git as the functional equivalent of consensus in blockchain, then Git by itself does not run any tests. These are run by another layer in CI – Jenkins etc.
This entry was posted in Software. Bookmark the permalink.

Leave a comment