Let $p$ be an odd prime and let $g$ be a primitive root $\pmod{p}$. Show that $−g$ is also a primitive root of $p$ if $p \equiv 1 \pmod{4}$, but that $ord_p(−g) = \frac{p−1}{2}$ if $p \equiv 3 \pmod{4}$.
So far, I have shown as $p \equiv1 \pmod{4}$ I can use Fermat's Little Theorem. $$g \equiv g^{p} \equiv -(-g)^{p} \pmod{p}$$
Since $p \equiv 1 \pmod{4}$, $x^2 \equiv -1 \pmod{p}$. ($-1$ is a QR of $p$) There $\exists k \in \mathbb{Z}$ such that
$$-1 \equiv g^{2k} \equiv (-g)^{2k} \pmod{p}$$
Thus, $g \equiv (-g)^{2k}(-g)^{p} \pmod{p}$. As $g$ is congruent to $-g^{p}$, $-g$ is a primitive root of $p$.
Is this enough to show the first part of the question, also how do I begin to show the 2nd part?