As a user of Git for Confluence you are now able to view which Git providers are connected to your account through OAuth. From this overview you can disconnect the provider, to make Git for Confluence forget that your account is connected to that provider.
You can find this overview by navigating to, Apps > Git for Confluence, in the side navigation of Confluence.