pub fn is_git_directory(path: &Path) -> bool
Returns true if path looks like a git directory (HEAD and objects/ exist).
path
HEAD
objects/