# File lib/rhc/git_helpers.rb, line 10 def has_git? @has_git ||= begin @git_version = nil git_version $?.success? rescue false end end