I have implemented a custom auth provider by following the steps from this help guide https://help.salesforce.com/articleView?id=sso_provider_plugin_custom.htm and the setup works as expected.
Now when I want to check in my custom metadata type to the GIT repo I see that the client secret and client key are visible. How can hide these details as it is a piece of sensitive information? Is there a better way to store this?