class Git::Lib

def run_command(git_cmd, &block)

def run_command(git_cmd, &block)
  if block_given?
    IO.popen(git_cmd, &block)
  else
    `#{git_cmd}`.chomp
  end
end