code: public void setCredentials(String username, String password) {
                  if (GitTaskUtils.isNullOrBlankString(username) || GitTaskUtils.isNullOrBlankString(password)) {
                          throw new IllegalArgumentException("Credentials must not be empty.");
                  }
  
                  credentials = new UsernamePasswordCredentialsProvider(username, password);
          }
docs: Sets the Git credentials
  
  @param username The username
  @param password The password