pub fn from_gitdir_file(path: &Path) -> Result<PathBuf, Error>
Reads typical gitdir: files from disk as used by worktrees and submodules.
gitdir: