Rename checkout to revert and support individual diff chunks reverts