The original name in Playford 1703 was "The Geud Man of Ballangigh". The spelling seems to have changed over time, eg single or double L. The name is a reference to King James V of Scotland.

Rosamund Rawlings adds further detail (from <<https://my.strathspey.org/dd/issue/3638/|issue #3638>>):
> This is linked to James V of Scotland. The dance is traced to 1696, 150 years after the death of James V. Caroline Bingham in her biography of James V found references to James wandering the countryside and when meeting people identified himself as the “gudeman of Ballengiech” which means a tenant in the hollow of Stirling Castle. These tales may have come to us from Sir Walter Scott. Sir Walter helped to invent many “authentic” Scottish Traditions when he arranged for George IV (Prinny) to visit Scotland in 1822. William H. Murray then developed the story into a play, Cramond Brig; or the Gudeman O’Ballangeich. <<https://englishhistoryauthors.blogspot.com/2012/02/geud-man-of-ballangigh.html>>.