We should probably use `sizeof(git_refname_t)` in order to guard against changes.