"let users compare" doesn't require diffing tools. Worst case put the versions next to reach other.
For some files (anything encrypted, for example) this may actually be the best you could do.
Dropbox had this behavior ten years ago, so it's kind of inexcusable for Google today to be just mindlessly overwriting.