
adilshehzad786.medium.com
Secrets that can be exploded to the internet include Slack tokens, Database credentials, cloud access, secret keys and developer tokens.
When a secret makes its way to a Git repository, it stays there forever, sitting in one or more of your commits, waiting to be found and used against you. Developers often forget that Git-based repository history is never deleted.
Many tools in the market can scan your repository, or commits before pushing, to ensure that no secrets are stored or pushed to the remote origin.