Refactoring of cred_ssh_key method
Refactoring of cred_plaintext method
Fix git2r_arg_check_credentials