The error returned by git().
git()
Returns true if the given git_dir seems to be a bare repository.
git_dir
What constitutes a valid git repository, and what’s yet to be implemented, returning the guessed repository kind purely based on the presence of files. Note that the git-config ultimately decides what’s bare.