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