{
  "id": "identifier/git-commit-sha",
  "family": "identifier",
  "slug": "git-commit-sha",
  "title": "Git commit SHA",
  "summary": "A Git commit SHA is a 40-character hexadecimal string (SHA-1) or 64-character string (SHA-256) that uniquely identifies a commit. The SHA is computed over the commit object (tree, parents, author, committer, message).",
  "kind": "identifier",
  "aliases": [
    "Git commit SHA"
  ],
  "status": "de-facto",
  "verification": "verified",
  "tier": "B",
  "source_url": "https://en.wikipedia.org/wiki/Universally_unique_identifier",
  "source_version": "retrieved 2026-05-29",
  "retrieved_date": "2026-05-29",
  "ext_type": "identifier@1",
  "ext": {
    "spec": "Git documentation",
    "example": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0",
    "notes": [
      "SHA-1: 40 hex characters (160 bits).",
      "SHA-256: 64 hex characters (256 bits) (Git 2.29+).",
      "The SHA is computed over: 'commit {size}\\0{content}' where content is tree + parents + author + committer + message.",
      "Short SHAs (7+ chars) are often used for display.",
      "Git objects (blob, tree, commit, tag) are all content-addressed by SHA."
    ]
  },
  "updated": "2026-05-29"
}
