How much of a git sha is *generally* considered necessary to uniquely identify a change in a given codebase?

If you’re going to build, say, a directory structure where a directory is named for a commit in a Git repository, and you want it to be short enough to make your eyes not bleed, but long enough that the chance of it colliding would be negligible, how much of the SHA substring is generally … Read more