Diff3

diff3 is a command to compare three files. It is useful when a file has been independently edited twice and the changes must be resolved.

Origin
Provided by the GNU Diffutils: man page