Added undo checkout