About securing your repository→
GitHub provides a number of ways that you can help keep your repository secure.
About secret scanning→
GitHub scans repositories for known types of secrets, to prevent fraudulent use of secrets that were committed accidentally.
Configuring secret scanning for your repositories→
You can configure how GitHub scans your repositories for secrets.
Managing alerts from secret scanning→
You can view and close alerts for secrets checked in to your repository.
Managing security and analysis settings for your repository→
You can control features that secure and analyze the code in your project on GitHub.