Suppose that $G$ is a group that there exists no element $x \neq e$ such that $x^2=e$. Moreover, for every $a,b \in G$ we have $(ab)^2=(ba)^2$. Prove that $G$ is Abelian.

Well, I attempted to prove that $(aba^{-1}b^{-1})^2=e$ because then if I could prove it that would imply $aba^{-1}b^{-1}=e$ which is the same as $ab=ba$. In other words I wanted to show the order of $[a,b]=aba^{-1}b^{-1}$ is two for every $a$ and $b$ in $G$. I spent almost an hour trying to show that by anything that came to my mind. I tried to brute force the problem by writing any possible equation that I could come up with but I failed :/

Any ideas?