Shouldn’t the main panel electrical feeder to the garage sub panel have the ground bonded to the grounding buss bar? It’s snipped and bend back (see photo).
In the garages sub panel, the grounds and neutrals are mixed on an unbonded buss bar with a ground wire leading to the exterior grounding rods. The ground is connected to the neutral buss bar. I know there are several defects here in the sub panel.