Updated RepoParser with correct methods to get a commit's hash