Skip to content
Drexel University College of Computing & Informatics Technology Services and Support

Git: Issue with Git Clone (token error)

Troubleshooting git clone errors

If you are attempting to clone your GitLab/GitHub repository to your local computer (via Command Prompt) or an IDE (via VSCode Terminal, etc.) and you come across one of these errors, please follow the steps outlined below for the error you encounter:

Token Error

If you have run the "git clone" command with a generated toke, but receive an "incorrect password" error message, generate another token and try again. 

Incorrect Password

If you run the "git clone" command and are asked for a username and password, please generate a token and use it as the password. If you are unsure of how to create a token, please follow these steps:

  1. Visit the GitLab/GitHub website.
  2. Click on your profile picture and select Settings/Account Settings.
  3. Navigate to the access tokens tab.
    a. For GitLab, this can be found in the Access Tokens Tab
    b. For GitHub, this can be found in Developer Settings > Personal Access Tokens > Tokens (classic)
  4. Select the Add/Generate New Token button.
  5. Copy the generated code to the clipboard.

Still stuck?

The CCI Commons help desk can walk you through it.

Mon–Fri
8am–9:30pm
Sat
9am–6pm
Sun
12pm–5pm

Need help?

The CCI Commons help desk can walk you through it.

Mon–Fri
8am–9:30pm
Sat
9am–6pm
Sun
12pm–5pm