isInGitRepo判断当前项目是否为一个 Git 仓库。其类型定义为:export type AfterForgedAPI = { isInGitRepo: () => Promise<boolean>; ...};复制