This is a simple ready-to-use template to work on CPP projects with GoogleTest unit test framework.
It comes with two small git pre-commit and init script that install it automatically. It simply compiles and runs gtests before any commit can be done.
Based on a CMake project.