Outcome#
Your Git commit identity is correct, a supported editor is available, and you can verify the separate practice repository and branch where you will learn Git without touching the Passport's background transport.
Concept#
Git records authorship, while GitHub authentication controls repository access. They are separate. A correct identity and a verified branch prevent misattributed commits and changes in the wrong location.
Worked Example#
Git and GitHub CLI are available, GitHub CLI names the intended account, and Git identity is explicit.
A correct example uses these decisions:
- What must gh auth status confirm? The intended GitHub account is authenticated.
- What should you do before repairing a failed tool check? Read the named check and use its bounded recovery step.
Common Trap#
Changing SSH keys, deleting configuration, or reinstalling everything before reading the exact failed check.
If Blocked#
If the editor is missing, install only the editor; do not clone again. If the
remote or branch is wrong, stop and run gh passport doctor. Do not delete the
folder, reset Git, replace SSH keys, or paste a token into the remote URL.
Use Request help without posting secrets on the passport dashboard if the
doctor's named recovery command does not resolve the problem. Submit one
sanitized issue and return later; the reviewer does not need to be online.
Useful references:
Understand Before Accepting AI Output#
Do not let an AI assistant insert tokens, rewrite credential helpers, change the remote, or switch branches without explaining the exact reason. Verify the identity, remote, and branch yourself before accepting its claim of success.