# File lib/bundler/gem_helper.rb, line 102
    def clean?
      out, code = sh_with_code("git diff --exit-code")
      code == 0
    end