show and check lastCommit