commit of the current state of a code