Security features like secret scanning protect your repository's data.
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 private repositories→
You can configure how GitHub scans your private 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.