The golliwog was a representation of a white man impersonating a black...ie in 'black face' entertainments, or minstrel shows. ...these originated in America's Deep South....with roots in the slaves entertaining their masters. This representation was quite exaggerrated.
White blackface performers in the past used burnt cork and later greasepaint or shoe polish to blacken their skin and exaggerate their lips, often wearing woolly wigs, gloves, tailcoats, or ragged clothes to complete the transformation.
In 1895, the Golliwogg surfaced in Great Britain, the product of American-born children's book illustrator Florence Kate Upton, who modeled her rag doll character Golliwogg after a minstrel doll she had in the U.S. as a child. "Golly", as he later affectionately came to be called, had a jet-black face; wild, woolly hair; bright, red lips; and sported formal minstrel attire.
The above is from WIKI