Is your feature request related to a problem? Please describe. Yes. I want to connect to github, but i need to use a github application to provide the authentication for the repos, reading the source code i couldn't figure out a way to plug in my custom github application implementation for a jgit credentialsprovider. (I've explained this a little bit here https://stackoverflow.com/questions/64715249/how-to-provide-custom-gitcredentialsproviderfactory-to-jgitenvironmentrepository)

Describe the solution you'd like Be able to plug in a jgit CredentialsProvider in a clean way (Like setting up a bean, or injecting a bean and then adding my custom implementation, or something similar)

Describe alternatives you've considered I think in the past the team has overriden classes from the framework and it kind of worked out, but it seems too hacky and a mess to maintain

Additional context

Comment From: spencergibb

Closing in favor of stack overflow. Please don't cross post.

Comment From: spencergibb

Reopening to use as a feature enhancement to allow a user to create a bean of type GitCredentialsProviderFactory