There are git hooks that u can run locally, but think as a manager of an R&D team of 10-20 developers. You need to make it centralised.
Whether you realize it or not, you're advocating for increasing surface area and risk. You're offering a service to people with bad opsec while simultaneously asking them to trust your opsec; none of which is a good solution to the actual problem.