01Chapter 1: Why committed secrets are a problemAssume you know how to commit and push with Git. You should also know that an API key, token, or password grants access to a service. GitHub repository settings and terminal commands will be used.2 min read
02Chapter 2: Push protection: blocking secrets before they landAssume you know Git commits, branches, pushes, and basic repository settings. A secret is a credential such as an API key or access token. Secret scanning finds exposed credentials in repository content. Push protection checks commits before GitHub accepts a push and blocks a detected secret fro1 min read
03Chapter 3: Revoke, rotate, then clean up historyAssume you know basic Git commands, repository settings, API keys, and terminal use. When a secret is exposed, treat it as compromised even if the alert says it is inactive.2 min read