I have a question in the section 3.2 "The Polyakov path integral" in Polchinski's string theory p. 83. Given
$$ \chi=\frac{1}{4 \pi} \int_M d^2 \sigma g^{1/2} R + \frac{1}{2 \pi} \int_{\partial M} ds \,\, k \,\,\,\, (3.2.3b) $$
It is said
We have noted $\chi$ is locally a total derivative in two dimensions and therefore depends only on the topology of the world-sheet -- it is the Euler number of the world sheet
I have two questions related to this sentence...
1) Where did the book note that $\chi$ is locally a total derivative?
2) Does the Euler number for $\chi$ come from the Gauss-Bonnet theorem? I never learned that theorem in my differential geometry course :( and Eq. (3.2.3b) is in different form with wiki
by different factors $\frac{1}{4\pi}$ and $\frac{1}{2\pi}$ (why? convention of normalization?). Would you recommend any reference for the proof of Gauss-Bonnet theorem for physicist?