anchor.diff:  
     ENDMETHOD. "abapgit_installation
   
  -  METHOD repo_clone.
  -
  -    DATA: lv_returncode  TYPE c,
  -          lv_url         TYPE string,
  -          lv_package     TYPE devclass,
  -          lv_branch_name TYPE string,
  -          lv_icon_ok     TYPE icon-name,
  -          lv_icon_br     TYPE icon-name,
  -          lv_icon_msg    TYPE icon-name,
  -          lo_repo        TYPE REF TO lcl_repo_online,
  -          lt_fields      TYPE TABLE OF sval.
  +  METHOD repo_popup.
  +
  +    DATA: lv_returncode TYPE c,
  +          lv_icon_ok    TYPE icon-name,
  +          lv_icon_br    TYPE icon-name,
  +          lt_fields     TYPE TABLE OF sval,
  +          lv_pattr      TYPE spo_fattr,
  +          lv_button2    TYPE svalbutton-buttontext,
  +          lv_icon2      TYPE icon-name.
   
       FIELD-SYMBOLS: <ls_field> LIKE LINE OF lt_fields.
   
  -    "               TAB           FLD       LABEL            DEF                 ATTR
  -    _add_dialog_fld 'ABAPTXT255' 'LINE'     'Git Clone Url'  iv_url              ''.
  -    _add_dialog_fld 'TDEVC'      'DEVCLASS' 'Target Package' ''                  ''.
  -    _add_dialog_fld 'TEXTL'      'LINE'     'Branch'         'refs/heads/master' '05'.
  +
  +    IF NOT iv_package IS INITIAL.
  +      lv_pattr = '05'.
  +    ELSE.
  +      lv_button2 = 'Create package'.
  +      lv_icon2   = icon_msg.
  +    ENDIF.
  +
  +*                   TAB           FLD       LABEL            DEF        ATTR
  +    _add_dialog_fld 'ABAPTXT255' 'LINE'     'Git Clone Url'  iv_url     ''.
  +    _add_dialog_fld 'TDEVC'      'DEVCLASS' 'Target Package' iv_package lv_pattr.
  +    _add_dialog_fld 'TEXTL'      'LINE'     'Branch'         iv_branch  '05'.
   
       lv_icon_ok  = icon_okay.
       lv_icon_br  = icon_workflow_fork.
  -    lv_icon_msg = icon_msg.
   
       CALL FUNCTION 'POPUP_GET_VALUES_USER_BUTTONS'
         EXPORTING
  -        popup_title       = 'Clone'
  +        popup_title       = 'Repository'
           programname       = sy-repid
           formname          = 'BRANCH_POPUP'
           ok_pushbuttontext = 'OK'
           icon_ok_push      = lv_icon_ok
           first_pushbutton  = 'Select branch'
           icon_button_1     = lv_icon_br
  -        second_pushbutton = 'Create package'
  -        icon_button_2     = lv_icon_msg
  +        second_pushbutton = lv_button2
  +        icon_button_2     = lv_icon2
         IMPORTING
           returncode        = lv_returncode
         TABLES
  
positive.code:                    iv_act = |remove?{ lv_key }| ).
        lo_sub->add( iv_txt = 'Uninstall'
                     iv_act = |uninstall?{ lv_key }| ).
        lo_sub->add( iv_txt = 'Change branch'
                     iv_act = |change_branch?{ lv_key }| ).
        lo_sub->add( iv_txt = 'Reset'
                     iv_act = |reset?{ lv_key }| ).
        lo_sub->add( iv_txt = 'Create branch'
  
negative.code:         lv_key   = iv_getdata.
          ei_page  = get_page_stage( lv_key ).
          ev_state = gc_event_state-new_page_w_bookmark.
        WHEN 'switch_branch'.
          lv_key   = iv_getdata.
          switch_branch( lv_key ).
          ev_state = gc_event_state-re_render.
        WHEN 'reset'.
          lv_key   = iv_getdata.
  