code: @SneakyThrows
      public void push() {
          if (!this.credentialsProvider.isEmpty()) {
              val providers = this.credentialsProvider.toArray(CredentialsProvider[]::new);
              this.gitInstance.push()
                  .setTimeout(TIMEOUT_SECONDS)
                  .setPushAll()
                  .setCredentialsProvider(new ChainingCredentialsProvider(providers))
                  .call();
          } else {
              LOGGER.debug("No credentials are provided. Changes will not be pushed to repository");
          }
      }
docs: Push.