internal GitCommit(Commit libGit2Commit) { _libGit2Commit = libGit2Commit; Hash = _libGit2Commit.Sha; HashPrefix = GitHelpers.GetHashPrefix(Hash); }