Creates a new ssh key file and passphrase credential object. The supplied credential parameter will be internally duplicated.
Creates a new plain-text username and password credential object. The supplied credential parameter will be internally duplicated.
Creates a new ssh public key credential object. The supplied credential parameter will be internally duplicated.
Check if type T is one of the supported git credential types.