pub fn check_path_status(dir: &Path, path: &Path) -> GitStatus
Ask Git whether a repository-relative credential file is ignored and untracked.