Add support for the `default` credential type.
Don't forget to check for libgit2 errors.