[guided]The remaining identification translates the form-integral $\int_{\partial M}\omega$ on the right of Stokes' identity into the classical line integral on the left of Green's identity. This is essentially tautological: classical line-integral notation $\oint_\gamma P\,dx + Q\,dy$ is *defined* as the integral of the $1$-form $\omega = P\,dx + Q\,dy$ along $\gamma$.
Let us spell this out. The boundary $\partial M$ is a compact oriented smooth $1$-manifold, hence a finite disjoint union of oriented circles $\gamma^{(1)}, \dots, \gamma^{(k)}$. Pick any orientation-preserving smooth parametrisation $\gamma: [a,b] \to \partial M$ of one such component $\gamma^{(j)}$, with $\gamma(a) = \gamma(b)$, and write $\gamma(t) = (\gamma_1(t), \gamma_2(t))$. Then by the definition of the integral of a $1$-form over an oriented $1$-manifold via pullback,
\begin{align*}
\int_{\gamma^{(j)}} \omega = \int_{[a,b]} \gamma^*\omega.
\end{align*}
Now $\gamma^* dx = \gamma_1'(t)\,d\mathcal{L}^1(t)$ and $\gamma^* dy = \gamma_2'(t)\,d\mathcal{L}^1(t)$ — this is the elementary calculation of the pullback of a coordinate $1$-form by a smooth curve. Hence
\begin{align*}
\gamma^*\omega = \bigl[P(\gamma(t))\,\gamma_1'(t) + Q(\gamma(t))\,\gamma_2'(t)\bigr]\, d\mathcal{L}^1(t),
\end{align*}
and therefore
\begin{align*}
\int_{\gamma^{(j)}}\omega = \int_a^b \bigl[P(\gamma(t))\,\gamma_1'(t) + Q(\gamma(t))\,\gamma_2'(t)\bigr]\,d\mathcal{L}^1(t).
\end{align*}
The right-hand side is, by definition, the classical line integral $\int_{\gamma^{(j)}} P\,dx + Q\,dy$. Summing over the components,
\begin{align*}
\int_{\partial M}\omega = \sum_{j=1}^k \int_{\gamma^{(j)}}\omega = \sum_{j=1}^k \oint_{\gamma^{(j)}}(P\,dx + Q\,dy) =: \oint_{\partial M}(P\,dx + Q\,dy).
\end{align*}[/guided]