to see if there is commit