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.