Check the checkbox to check if there is a commit