class Envirobly::Git::Commit

def exists?

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