Do not interactively ask for a password

Replace the checkCredentials function with the native core.askpass=true git config variable.