解决 Git 报错 fatal: reference is not a tree 的排查指南排查与解决 Git 切换分支、检出提交或子模块更新提示 fatal: reference is not a tree 的完整方案。Git · devops · Submodule2026.10.25