pub fn get_git_dir() -> Result<PathBuf>
Get the absolute path to the git directory (.git folder or file)