I am trying to understand why the binary dihedral group $BD_{4m}, m \in \mathbb{Z}$, with presentation $\langle\ A, B \mid\ A^{2m} =1,\ A^m = B^2 = -1,\ BAB^{-1}=A \rangle$ is the same, when $m=1$, as the additive group $\mathbb{Z}_4$. In the presentation of $BD_{4m}$, $A$ is
\begin{bmatrix}\epsilon&0\\0&\epsilon^{-1}\end{bmatrix} and $B$ is \begin{bmatrix}0&-1\\1&0\end{bmatrix}
As far as I can see, when $m=1, BD_4 = \{e, A, B, AB\}$ where $e$ is the identity matrix, and we have that $\mathbb{Z}_4 = \{0,1,2,3\}$ and these are not very similar apart from both having four elements.
Any insight into why these two groups are the same would be appreciated!