(I know the existence of Galois group of $x^4-2$, so please don't start tagging this question as duplicate)
The degree of the field extension is 8, so the only group that the Galois group can be isomorphic to is $D_4$, the symmetry group of the square.
Now, I know about the definition of $D_4$, which is $D_4= \langle a,b\mid a^4=1,b^2=1,ba=a^{-1}b\rangle$. Why then are the elements of $D_4$ $a, a^2, a^3, b, ab, a^2b, a^3b$ and id? Would it make any sense to make a Cayley table of the automorphisms and $D_4$? How do I know that all the automorphisms are in $D_4$?
Furthermore, how can I know the Galois group is isomorphic to $D_4$ in another way?
I know it's a lot of questions, but could someone please answer something, it might clear up a lot for me. :)