An introduction to modern OpenGL
duriansoftware.com
duriansoftware.com
I suppose the "modern" in the title refers to the fact that the tutorial introduces vertex buffers and shaders right from the beginning, rather than delving into antique cruft such as immediate mode and fixed-function pipeline. This is indeed a good thing.
http://duriansoftware.com/joe/An-intro-to-modern-OpenGL.-Tab...
The internet is awash with old legacy OpenGL that is a bad example to newcomers.
The original GLUT was written for an OpenGL book (IIRC, the red book) so that the code examples wouldn't occupy so much space on paper. It wasn't probably intended to be used for real applications at all.
Thankfully I found a quick reference card for OpenGL 4.2, then I can see what's core then extrapolate from there.
But yes there sure is a lot of schmutz out there.