1
Fossil: Fossil Versus Git
(www.fossil-scm.org)
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
Resources
Rules
Git Logo by Jason Long is licensed under the Creative Commons Attribution 3.0 Unported License.
They provide a link to the section where they elaborate on "commit first vs test first", here is the relevant text
Git has pre-commit hooks?
And
git merge --no-committo do whatever you want on the proposed merge before actually creating the commit. Test or whatever else.