Git Authentication Guide
Generate a new Authentication Token 1. Generate a New GitHub Personal Access Token (PAT) Step 1: Go to GitHub Developer Settings Open GitHub in your browser and log in. Go to Settings (click your profile icon in the top right and select “Settings”). Scroll down and find Developer settings (on the left sidebar). Click Personal access tokens > Fine-grained tokens (recommended). Step 2: Generate a New Token Click Generate new token (Fine-grained token). Set a note for the token (e.g., “Git CLI access”). Set an expiration date (or “No expiration” if you want it permanent). Under Permissions, select: repo → Read and Write (for full repo access). workflow → Read and Write (if using GitHub Actions). Click Generate token. {% note danger %} ⚠ Important: Copy the token immediately! You won’t be able to see it again. {% endnote %} ...