internal Commit GetCommitById(string sha) { try { using (var repository = GetRepository()) { var commit = repository.Lookup<LibGit2Sharp.Commit>(sha); return CreateCommit(commit); } } catch (Exception) { throw; } }