The current `git_clear_vars()` method appears to have iterated over all the existing set variable correctly, but never actually bothered to clear them.