The principal branch of the inverse trigonometric function $\cos^{-1} x$ is defined for the range of the angle such that the output of the function is real and lies in a restricted interval.
The inverse cosine function, $\cos^{-1} x$, is defined for $x \in [-1, 1]$ and its output is restricted to an interval where the cosine function is decreasing and one-to-one. The principal branch of $\cos^{-1} x$ is thus the interval $[0, \pi]$, where the cosine function is decreasing.
Hence, the correct principal branch is the range $[0, \pi]$.