Since my reputation is not enough to comment on the original question, I have to post a question here, I will sincerely apologize if this behavior is not appropriate.
In the comments and the answer, @Derek Holt said that $|G:H|=2$ follows from the fact the automorphism group of an infinite cyclic group has order 2 , and for $y \in G\setminus H$, $y^{-1}xy = x^{-1}$, but I still cannot understand it.
I know that if $H$ is normal in $G$ then there is a homomorphism from $G$ to $Aut(H)$, hence $|G:H| \leq 2$, but how to prove that $H$ is normal? Or there is a way to show this without using normality?