# How-tos for working with leak prevention

Learn how to work with GitHub's push protection in different environments.

## Links

* [Working with push protection from the command line](/en/enterprise-server@3.22/code-security/how-tos/secure-your-secrets/work-with-leak-prevention/push-protection-on-the-command-line)

  Learn your options for unblocking your push from the command line to GitHub if secret scanning detects a secret in your changes.

* [Working with push protection in the GitHub UI](/en/enterprise-server@3.22/code-security/how-tos/secure-your-secrets/work-with-leak-prevention/push-protection-in-the-github-ui)

  Learn your options for unblocking your commit when secret scanning detects a secret in your changes.