anchor.diff:          switch_to_pull_req( iv_pull = ls_settings_new-pull_request ).
       ENDCASE.
   
  -    IF ls_settings_new-head_type <> c_head_types-pull_request.
  +    IF mo_repo->is_offline( ) = abap_false AND ls_settings_new-head_type <> c_head_types-pull_request.
         " Switching from PR to something else will reset the URL in repo->switch_origin( space )
         " -> set URL again
         lo_repo_online->set_url( ls_settings_new-url ).
  
positive.code:   ENDMETHOD.
  
  
    METHOD init.
      mo_repo = io_repo.
      ms_settings_old = get_remote_settings_from_repo( mo_repo ).
  
negative.code:     gui_services( )->get_hotkeys_ctl( )->register_hotkeys( zif_abapgit_gui_hotkeys~get_hotkey_actions( ) ).
  
    ENDMETHOD.
  ENDCLASS.
  