pub fn git_common_dir(path: &Path) -> Result<PathBuf>
Absolute path of the git common-dir for path (bare store / .git dir).
path
.git
Returns Err when path is not inside a git repository.
Err