Share 'Ground Fault Generator Wiring'

I have a question about generator wiring practice on boats. I have recently encountered three instances of boats with generators tripping ground fault breakers recently installed on many docks.
In all three it was found the ground wire (green) was connected to shore power neutral at the generator. In all three cases disconnecting this fixed the ground fault trips.
From articles I have read it n…