getCommit now accepts sha.