It means one is still unfamiliar but has a general idea of how it works.
Originates from the term “Hugging the UP (Union
Pacific)”. In the
early 20th century when navigation for aircraft was in its infancy, pilots who were lost would zig zag until they found Union Pacific’s transcontinental
line and follow it until they got to a spot they were familiar with. They hugged the UP.