Hn(G, M) is called the n-th cohomology group of G (with coefficients in M) involving cocycles and coboundaries.
The group of all functions from the set of components of a complex (these functions are constant on each component) is one interpretation of H0(G, M). See also the section called “Homological Algebra” for the homological algebra approach (involving Ext) and free resolutions.