It was made to point the moral that the golfer should replace his divots.
The Americans are not content with merely requesting a player to replace the divots of turf that he cuts up in play.
From what I could gather he was going over the course behind Doctor Z to replace the divots.
It was a "black house," built of turf, roofed with divots (large thin turfs), and surrounded by a moat or ditch.
These were succeeded by turf-built huts, the roofs of which, rudely framed with boughs, were covered with divots or turfs.
I have sometimes found ladies most culpably careless in the matter of divots.
Make a point of seeing that your caddie always replaces your divots, or replace them yourself if you have no caddie.