Let $G$ be an abelian group (or more generally a module over a ring $R$) and $\phi:G\to G$ a surjective group homomorphism with a right-inverse $\psi: G\to G$, i.e. $\phi\circ \psi = id_G$. So, we have a $split$ short exact sequence $$ 0\to K:=\ker(\phi)\to G\overset{\phi}{\to} G\to 0 $$ and hence $G\cong K\oplus G$.
Question: Under which conditions on $G$ can we conclude that $\phi$ is an isomorphism (i.e. that $K=0$)?
I suspect that there is a notion/name for such groups $G$ that I'm ignorant of. So, references are very welcome as well. Thanks in advance for any contribution.