$\newcommand{\Z}{\mathbb{Z}}$
The general afirmation would be:
Let $G$ a group, such that $g^2 = 1$ for $g \neq 1$ then
$$ G \cong \left(\frac{\Z}{2\Z}\right)^X$$.
I am trying to prove that for a special case, let $G$ with $|G| = 8$, such that $g^2 = e$ for $g \neq e$. Then
$$ G \cong \frac{\Z}{2\Z}\times\frac{\Z}{2\Z}\times\frac{\Z}{2\Z} $$
The idea is a elementary proof without the fundamental theorem of finitelly generated abelian groups.
I have proved that it is abelian and my idea is to use semidirect product with $H = \frac{\Z}{2\Z}$ and $K = G/H \cup \{e\}$ that i only miss proving is a group.
If we knew $K$ is a group $G = HK$ with $ H\cap K = e$ then it is the semidirect product, but both subgroups are abelian then are normal subgroups and would be a direct product.
Finally we will have to prove that $K \cong \frac{\Z}{2\Z}\times\frac{\Z}{2\Z}$.