it is a DVCS. it doesnt matter where it's hosted. external contributors should use github, core developers will go through git.php.net. it's all the same.
I looked into a few books but in the end, I always went to the good old Kerninghan & Ritchie book. So my personal favoir is still "Programming in C" by K&R.