# File lib/rhc/git_helpers.rb, line 84 def git_config_get(key) return nil unless has_git? config_get_cmd = "#{discover_git_executable} config --get #{key}" value = %x[#{config_get_cmd}].strip debug "Git config '#{config_get_cmd}' returned '#{value}'" value = nil if $?.exitstatus != 0 or value.empty? value end