Git installation and auth¶
Purpose¶
This document covers Git and GitHub CLI installation and login.
Installation¶
Recommended environment: Linux or WSL (same as CI).
Linux / WSL:
macOS:
Windows (choose one):
Authenticate gh (once, browser-based)¶
Run:
Choose:
- GitHub.com
- HTTPS
- Authenticate Git with GitHub credentials: Yes
- Login method: Browser
Verify:
Verify / configure Git identity¶
After authentication, verify that a Git identity is configured.
Verify:
If required, configure one:
Global (all repositories):
GitHub-provided no-reply addresses are valid:
id+username@users.noreply.github.com