Techie's situation is an good example of how a GFCI compares the current going out to the current coming back in. If there is more than 5ma difference, either too little or too much, the GFCI will trip. Even though a GFCI has the word "ground" in its name, ground/dirt has nothing to do with its operation (unless part of a fault current path happens to include it).