Why does Git use a cryptographic hash function?
TLDR; from 2005 up to 2018/Git 2.18: SHA-1 (see below) 2019, will switch at some point to SHA-256 You can check that from Linus Torvalds himself, when he presented Git to Google back in 2007: (emphasis mine) We check checksums that is considered cryptographically secure. Nobody has been able to break SHA-1, but the point … Read more