class Envirobly::Git::Commit

def exists?

def exists?
  `git cat-file -t #{@ref}`.strip == "commit"
end