You can revert or undo a checkout, commit, or modification of a source control file in the following ways: