compare lastest change and commit