remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.

remote: Please see for more information.

fatal: unable to access ‘': The requested URL returned error: 403

Official explanation:


To fix the error, follow the below steps:

  1. Your Profile Settings

2. Developer settings

3. Personal access tokens

4. Generate New Token

5. Write token name:

6. After Generate token,Copy this.

7. This token used as a password.

Important Note : To store the token git credential so that you don’t have to type token everytime, use this command before pushing.

git config credential.helper store

Permanently Save Token:

  1. Now, open the Git repository where you got the error and remove the current origin by running the following command.
git remote remove origin

2. Add the new origin by using the following command in your terminal.

git remote add origin https://<TOKEN><USERNAME>/<REPO>.gitExample:git remote add origin

That’s it, now you can push your code to GitHub using the git push command without any errors.




Software Engineer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How GitHub Survived the Biggest DDoS Attack Ever Recorded?

{UPDATE} AcceleroX: After the Higgs Boson Hack Free Resources Generator

What’s Next in Privacy & Cybersecurity Throughout the World?

Definsurance #3 — Define risk in DeFi

Here are my best finds for a Tech Smart Boss this week — Issue #55

SuperPunksNFT & DogeElonNFT

Cyber security for SMEs: What are the minimum requirements?

DTP Verifiable Claims

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Safaetul Ahasan

Safaetul Ahasan

Software Engineer

More from Medium

Using COM-objects from Python/JScript/VBScript

Git Cheat Sheet

Git Cheat Sheet

Networking: What is a CSN?

Pattern Matching (Regex)