"But if you use git for source control like in the kernel, the stuff you really care about is source code, which is very much a transparent medium. If somebody inserts random odd generated crud in the middle of your source code, you will absolutely notice.
"
They're basically building that into git so that if this specific collision attack is ever used, git will notice and throw a warning/error.