The confusion about the sign is understandable. The square root symbol applied to a positive number always yields a positive number (disregarding the case of zero for the sake of simplicity here). The problem arises when you don't know ahead of time whether $x$ is positive or not. It is true that one of the numbers $x$ and $-x$ must be positive, though. So you can write with certainty that
$$\sqrt {x^2}=|x|$$
since $|x|$ is precisely the one of these two numbers that is positive--it's just another way to say the same thing more concisely.
It is also true that "either $\sqrt{x^2}=x$ or $\sqrt{x^2}=-x$" is true, which is often abbreviated as "$\sqrt{x^2}=\pm x$". But be very careful what this says. It is a disjunction, a compound statement that at least one of the two component statements must be true. It does not say that both must be true. So it is also correct to write
$$\sqrt{x^2}=\pm x$$
if you understand that it means "or" but not necessarily "and".
So to answer your question: they are all correct.