I edit files in the Emacs text editor on Linux and Windows.
Using insync on both machines.
Once every few days, an edited file ends up in the trash of Google drive.
Emacs does create backup ‘~’ files when editing; not sure if it renames the original file, adding a ~, and if this occasionally is seens as a delete by Insync.
Google’s drive sync client did not have this bug.