class Berkshelf::GitCommandError

def initialize(command, path, stderr = nil)

def initialize(command, path, stderr = nil)
  out =  "Git error: command `git #{command}` failed. If this error "
  out << "persists, try removing the cache directory at '#{path}'."
  if stderr
    out << "Output from the command:\n\n"
    out << stderr
  end
  super(out)
end