Proof (winding number is locally constant)

The main idea is $I(γ; w)$ can only take integer values.

Using the integral form

We have $$ \begin{align*} I(γ; w) = \frac{1}{2πi} \oint_{γ} \frac{1}{ζ-w} \d ζ. \end{align*} $$ $w\mapsto I(γ; w)$ is a continuous function, so it is locally constant.

Using Cauchy's integral formula

Choose $r>0$ such that $B(w,r)\subseteq \C\setminus γ$. For $z\in B(w,ε)$, $$ \begin{align*} |I(γ; w) - I(γ; z)| ={}& \frac{1}{2π}\left|\oint_{γ} \frac{1}{ζ-w} - \frac{1}{ζ-z} \d ζ\right| \\ ={}& \frac{1}{2π} \left|\oint_{γ} \frac{w-z}{(ζ-w)(ζ-z)} \d ζ\right| \\ \leq{}& \frac{1}{2π} \mathrm{length}(γ) \cdot \frac{ε}{r(r-ε)} \\ \to{}& 0 \qquad \text{as }ε\to 0 \end{align*} $$ so by taking $ε>0$ sufficiently small, $|I(γ; w) - I(γ; z)| < 1$, and therefore $I(γ; w) = I(γ; z)$.