diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index bce3ddb4f261ab35d014b4a39fc05e01bbc40578..e5b64a596601f70a08cd3af62e3fa4cc57e507fc 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -59,7 +59,7 @@ class Checks
   # git here to avoid multiple warnings.
   def git?
     return @git if instance_variable_defined?(:@git)
-    @git = which("git") && quiet_system("git", "--version")
+    @git = system "git --version >/dev/null 2>&1"
   end
 ############# END HELPERS