真正需要记住的核心命令只有 7 个 git status / git diff / git add -p / git commit / git switch -c / git pull --rebase / git reflog。