[guided]We want to show the winding number depends continuously on the point $z_0$, so that small perturbations of $z_0$ (staying away from the curve) produce small changes in $n(\gamma, z_0)$.
Fix $z_0 \in \mathbb{C} \setminus \operatorname{im}(\gamma)$. Since $\operatorname{im}(\gamma) = \gamma([a,b])$ is the continuous image of the compact set $[a,b]$, it is compact. The function $t \mapsto |z_0 - \gamma(t)|$ is continuous on $[a,b]$ and never zero (since $z_0 \notin \operatorname{im}(\gamma)$), so it attains a positive minimum. Define $\delta := \operatorname{dist}(z_0, \operatorname{im}(\gamma)) = \min_{t \in [a,b]} |z_0 - \gamma(t)| > 0$.
Now take any $w$ with $|w - z_0| < \delta/2$. By the triangle inequality, for every $t \in [a,b]$:
\begin{align*}
|w - \gamma(t)| \geq |z_0 - \gamma(t)| - |w - z_0| > \delta - \delta/2 = \delta/2.
\end{align*}
So $w$ also lies in $\mathbb{C} \setminus \operatorname{im}(\gamma)$ and both winding numbers are well-defined. We compute their difference by subtracting the integral representations:
\begin{align*}
n(\gamma, w) - n(\gamma, z_0) &= \frac{1}{2\pi i} \oint_\gamma \frac{1}{z - w}\, dz - \frac{1}{2\pi i} \oint_\gamma \frac{1}{z - z_0}\, dz \\
&= \frac{1}{2\pi i} \oint_\gamma \frac{(z - z_0) - (z - w)}{(z - w)(z - z_0)}\, dz \\
&= \frac{1}{2\pi i} \oint_\gamma \frac{w - z_0}{(z - w)(z - z_0)}\, dz.
\end{align*}
Let $L := \int_a^b |\gamma'(t)|\, d\mathcal{L}^1(t)$ be the arc length of $\gamma$. Applying the standard contour integral estimate $\left|\oint_\gamma g(z)\, dz\right| \leq \sup_{z \in \operatorname{im}(\gamma)} |g(z)| \cdot L$, we bound the integrand: for $z \in \operatorname{im}(\gamma)$, $|z - z_0| \geq \delta$ and $|z - w| > \delta/2$, so
\begin{align*}
|n(\gamma, w) - n(\gamma, z_0)| &\leq \frac{1}{2\pi} \cdot \frac{|w - z_0|}{(\delta/2) \cdot \delta} \cdot L = \frac{|w - z_0| \cdot L}{\pi \delta^2}.
\end{align*}
As $w \to z_0$, this bound tends to zero, establishing continuity of the winding number at every point of $\mathbb{C} \setminus \operatorname{im}(\gamma)$.[/guided]