FreshPorts has tracked FreeBSD commits since 2000: CVS, then Subversion, then git. Each move added another way to name a commit, and commit_log now has four of them.
I wrote up which column holds what in each era, which one actually identifies a commit, and why none can be dropped. git's short hashes turned out to be 7 to 11 characters, depending on when the commit came in.