checkCommit