GitHooks are a great way of automating tasks and checking information while using git. These hooks are both powerful surprisingly easy to create yourself. In this video tutorial we run through how git hooks work and how to create both local and global git hooks which can call an API, use grep to find keys and even call other local tools.
Links:
GgShield: https://github.com/GitGuardian/ggshield
Learn more at
pre-commit framework: https://pre-commit.com/
Git Hooks.com https://githooks.com