The Red Army used the M4A2, which was diesel engined. it was used by Britain, Soviets and US marines but not US army (which used only gasoline tanks).
I'm not sure if the soviets got other Sherman versions, maybe they didn't. As far as I know they bot got the earlier dry storage tanks with the 75 mm gun, and the newer wet storage 76mm ones, in similar quantities. but photos show mostly the 76 mm tanks, so maybe my infos are wrong and they received more 76mm tanks than older ones. or maybe there are more pictures about soviet 76mm shermans because they were used in the victorious campaigns of 1944-45 so they received more attention.
as far as I know soviet crew quite liked the sherman, even if had both pros and cons compared to the T-34.
As for diesel vs gasoline shermans, it was no matter of earlier or later, they simply coexisted in different production lines. earlier lines, the M4 and M4A1 were both gasoline powered. the diesel M4A2 was issued fearing a shortcoming of regular engines (as the M4A4 which had a multi-bank gasoline engine). but it's true that later in the war the production was standardized on the M4A3, which was gasoline fuelled and was the standard US army Sherman (and rarely issued to other allies).
PS I may be wrong on some things, so don't be afraid to correct me