Let $H$ be an abelian subgroup of index $2$ in $G$, and $G=\langle H,g \rangle$ then why is it only units of $\Bbb{Z}(G/H)$ are trivial (i.e. of the form $\pm\bar{g}$)?
An arbitrary element of $\Bbb{Z}(G/H)$ will be of the form $a_1+a_2 \bar{g}$ where $a_1,a_2 \in \Bbb{Z}$. But if it is a unit why does it have to be of the form $\pm\bar{g}$?
Define a function $N:\mathbb{Z}(G/H)\to \mathbb{Z}$ by $N(a+b\overline{g}):=a^2-b^2$. Notice that $N$ is multiplicative, that is to say, $$N((a+b\overline{g})(c+d\overline{g})) = N(a+b\overline{g})N(c+d\overline{g}).$$ From there, it follows that if $a+b\overline{g}$ is a unit, then $N(a+b\overline{g})=a^2-b^2$ in invertible in $\mathbb{Z}$. In other words, $a^2-b^2= \pm 1$. Since $a$ and $b$ are integers, this is only possible if $a=\pm 1$ and $b=0$, or $a=0$ and $b=\pm 1$. Hence the result.