Prove that $G$ is an abelian group if $\{(g, g):g\in G\}$ is a normal subgroup.

I think I've got it!

Let $g=a$.

Then, $aa=g'a\implies g'=a$

So, $bg=g'b\implies ba=ab$

So, $G$ is abelian.


I think you've solved your own question correctly. Kudos. Here's a slightly different, perhaps more direct, approach:

$$D\lhd G\times G\iff\forall\,g\in G\;,\;\;(a,b)(g,g)(a,b)^{-1}\in D\iff$$

$$(aga^{-1}\,,\,bgb^{-1})\in D$$

and this means $\;aga^{-1}=bgb^{-1}\;$ for all $\;a,b,g\in\Bbb G\;$ . Take now $\;g=b\;$ , and the above says that for all $\;a,b\in G\;$ we have

$$aba^{-1}=bbb^{-1}=b\implies ab=ba\;\;\;\;\;\;\;\;\square$$