Discover practical, ready-to-use Git hook examples. See how to validate commit messages, check for trailing whitespace, and prevent pushes to master.