initGitRepo

初始化当前目录为 Git 仓库。

其类型定义为:

export type AfterForgedAPI = {
  initGitRepo: () => Promise<void>;
  ...
};
,