Capture refs state before fetching changes

This way, the tool will detect a change that happened since the last run.