Checking commits on git