Your site has one contact form, yet every page downloads Contact Form 7's stylesheet, two scripts and a block of settings. The plugin has its own switch for that. The catch is the form that isn't in the page content.
You changed the SMTP settings, or copied a live site to staging, and you need to know whether mail works. Every test you can think of either lands in a real inbox or, on a copy of a live site, could reach a real customer.
You added a pre-commit hook to block a mistake. You make the mistake on purpose to test it, and the commit goes through. No error, no output. Is the hook running at all?