Since the (vertical) velocity of the ball is given by (assuming g≈ constant)
v(t)=dsdt=v0−gt,
the speed of the object when hits the ground is the velocity at time t∗, where t∗ is the value of t when s(t)=sG=0 (if your reference system is placed at s=sG=0 for the ground).