CommitID must be at least 4 chars.

libgit2 will segfault if the ID is too short.  I don't know
if it actually has to do with the length, or just because
it is too short to be unqiue from all other commits.