To talk more about why a short hash is useful and why you often don't need a long hash, it is related to how Git stores things.
c26cf8af130955c5c67cfea96f9532680b963628 . .git/objects/c2/6cf8af130955c5c67cfea96f9532680b963628. , c2 , - . , , .
c26cf8a, Git .git/objects/c2/6cf8a* , , . , , , .
c26cf8a , 16 ^ 7 2 ^ 28 268,435,456, , .
, Git / , .
. Git packfiles. . Git , .git/objects, .git/objects/pack/pack-<checksum>.
, , .:)