Beyond Compare
it's commercial software for Wintel, but it's light years better than any open source alternative.
It compares files, directories, even trees, has multi-user locks, so you avoid making a mess on files that are opened by others, and your changes remain local, and can be "merged" later, under control (Git, Mercury, Svn, ... Doors-itself) anyway ... and ' scriptable, it can be used to generate patches, and has plug-ins for integration into Understood{C, C++, Ada}, Doors and Stood AADL, AdaMulti, which are "versioned" professional work environments designed for team-working.
When I was a student, I got my Educational version of Beyond Compare for 50 euro. Still usable for personal stuff.