code: protected void updateForNewConfiguration(CmsGitConfiguration gitConfig) {
  
          if (!m_checkinBean.setCurrentConfiguration(gitConfig)) {
              Notification.show(
                  CmsVaadinUtils.getMessageText(Messages.GUI_GIT_CONFIGURATION_SWITCH_FAILED_0),
                  CmsVaadinUtils.getMessageText(Messages.GUI_GIT_CONFIGURATION_SWITCH_FAILED_DESC_0),
                  Type.ERROR_MESSAGE);
              m_configurationSelector.select(m_checkinBean.getCurrentConfiguration());
              return;
          }
  
          resetSelectableModules();
          for (final String moduleName : gitConfig.getConfiguredModules()) {
              addSelectableModule(moduleName);
          }
          updateNewModuleSelector();
          m_pullFirst.setValue(Boolean.valueOf(gitConfig.getDefaultAutoPullBefore()));
          m_pullAfterCommit.setValue(Boolean.valueOf(gitConfig.getDefaultAutoPullAfter()));
          m_addAndCommit.setValue(Boolean.valueOf(gitConfig.getDefaultAutoCommit()));
          m_pushAutomatically.setValue(Boolean.valueOf(gitConfig.getDefaultAutoPush()));
          m_commitMessage.setValue(Strings.nullToEmpty(gitConfig.getDefaultCommitMessage()));
          m_copyAndUnzip.setValue(Boolean.valueOf(gitConfig.getDefaultCopyAndUnzip()));
          m_excludeLib.setValue(Boolean.valueOf(gitConfig.getDefaultExcludeLibs()));
          m_ignoreUnclean.setValue(Boolean.valueOf(gitConfig.getDefaultIngoreUnclean()));
          m_userField.setValue(Strings.nullToEmpty(gitConfig.getDefaultGitUserName()));
          m_emailField.setValue(Strings.nullToEmpty(gitConfig.getDefaultGitUserEmail()));
  
      }
docs: Updates the options panel for a special configuration.
  @param gitConfig the git configuration.