class_docstr: Credential to access git-credential
      
class_docstr_tok: ["Credential","to","access","git-credential"]
code: def set(self, **kwargs):
      for f, v in kwargs.items():
          if f not in self._FIELDS:
              raise ValueError(
                  "Unknown field %s. Known are: %s"
                  % (f, self._FIELDS.keys())
              )
  
      mapped = {self._FIELDS_GIT[k]: v for k, v in kwargs.items()}
      self._git_cred = GitCredentialInterface(
          url=self.auth_url, repo=self.ds, **mapped
      )
      self._git_cred.approve()
  
imports: import time
  from ..support.exceptions import AccessDeniedError, CapturedException
  from ..support.keyring_ import keyring
  from ..ui import ui
  from ..utils import auto_repr
  from ..support.network import iso8601_to_epoch
  from datalad import cfg
  from datalad.config import anything2bool
  from datalad.distribution.dataset import Dataset
  from datalad.local.gitcredential import GitCredentialInterface
  from logging import getLogger
label_desc: Use image node_id 3 for calling the GitCredential obj's underlying member method code with example usage: obj.set() without return types