I have rebuilt more differentials than I want to think about and taught automotive for a handful of years. I had a tough time following the last description, so I'll point you to an old but good video.
https://youtu.be/K4JhruinbWc
Start around 3:20 for how the differential works, then just replace wheels with motors and the concept should be pretty clear.