Create a GitHub Personal Access Token

Navigate to Developer Settings

  1. Click on your profile picture (top-right corner).
  2. Select "Settings".
  3. Scroll down and click "Developer settings".

Access Personal Access Tokens

  1. Click "Personal access tokens" in the left menu.
  2. Click "Generate new token".

Configure Your Token

  1. Enter a name for your token.
  2. Select an expiration date (optional).
  3. Choose permissions based on your needs (e.g., repo, read:org).

Generate and Copy the Token

  1. Click "Generate token".
  2. Copy and store it securely.

Use Your Token

Example Git Clone:

git clone https://YOUR_USERNAME:YOUR_TOKEN@github.com/username/repository.git