anchor.diff:  
       IF ls_tadir-delflag = 'X'.
         RETURN. "Mark for deletion -> return nothing
  +    ENDIF.
  +
  +    ls_item-obj_type = ls_tadir-object.
  +    ls_item-obj_name = ls_tadir-obj_name.
  +    ls_item-devclass = ls_tadir-devclass.
  +    IF exists( ls_item ) = abap_false.
  +      RETURN.
       ENDIF.
   
       rv_devclass = ls_tadir-devclass.
  
positive.code:         VALUE(rv_devclass) TYPE tadir-devclass
        RAISING
          zcx_abapgit_exception .
    PRIVATE SECTION.
  
      CLASS-METHODS check_exists
        IMPORTING
          !it_tadir       TYPE zif_abapgit_definitions=>ty_tadir_tt
  
negative.code: 
  
  
  CLASS zcl_abapgit_tadir IMPLEMENTATION.
  
  
    METHOD build.
  