class Envirobly::Git::Commit

def exists?

def exists?
  git(%(cat-file -t #{@ref})).stdout.strip == "commit"
end