A Malcev category is a left exact category (= having finite limits) in which any reflexive internal relation is an equivalence relation. Equivalently, the fibers of its fibration of points are unital (equivalently the fibers of the fibration of points are strongly unital).
The category Grp of all groups (including non-abelian groups) is a Malcev category. More generally, for $\mathcal{C}$ any category with finite limits, the category $Grp(\mathcal{C})$ of group objects internal to $\mathcal{C}$ is a Malcev category.
More generally, the category of $T$-algebras for any theory $T$ which contains a group operation (an $\Omega$-group). Other examples include the category, $Heyt$, of Heyting algebras and the category of left closed magmas. The dual category to an elementary topos is a Malcev category. A Malcev variety is a variety of algebras whose category of models is a Malcev category.
In any Malcev category, every internal category is an internal groupoid.
Francis Borceux, Dominique Bourn, Mal'cev, protomodular, homological and semi-abelian categories, Mathematics and Its Applications 566, Kluwer 2004 (doi:10.1007/978-1-4020-1962-3)
Dominique Bourn, From Groups to Categorial Algebra : Introduction to Protomodular and Mal’tsev Categories, Compact Textbooks in Mathematics, Birkhäuser 2017 (textbook)