1812, nautical, "raw recruit, green hand," apparently originally a sailor's contemptuous word for soldiers or marines, of unknown origin. "Dictionary of American Slang" proposes galut, Sierra Leone creole form of Spanish galeoto "galley slave." In general (non-nautical) use by 1866, "awkward or boorish man," but often a term of humorous contempt.