public void pushContentEditorToRepo() {
    repositoryToolsServices.pushRepository(
        login.toString(),
        password.toString(),
        new AsyncCallback<Boolean>() {
          @Override
          public void onFailure(Throwable throwable) {}

          @Override
          public void onSuccess(Boolean aBoolean) {}
        });
  }
  public void writeEditorContentToFile() {
    String contentEditor = CodeMirrorEditorWrapper.getText();
    String filePath = CodeMirrorEditorWrapper.getFileOpened();
    repositoryToolsServices.updateContentFileAndCommit(
        filePath,
        contentEditor.getBytes(),
        login.toString(),
        new AsyncCallback<Boolean>() {
          @Override
          public void onFailure(Throwable throwable) {
            // To change body of implemented methods use File | Settings | File Templates.
          }

          @Override
          public void onSuccess(Boolean aBoolean) {}
        });
  }