CreateCommit: uses a CommitRequest struct.