A common example is UnityYAMLMerge for merging the Unity game engine's generated files.
https://docs.unity3d.com/Manual/SmartMerge.html
Configuring it to work with Git and others is a little ways down the page, but would apply the same for other diff tools.