ListCommits and ListFiles should return slices, not pointers

ref: #130