Can't push to your GitHub repo? I can help with that.
Published: 2021-08-24 19:16:00

#Welcome back to Tutorial Tuesday!

Have you been working on a project for a while and recently realize you can no longer push your changes to your git repo?
Did you receive the following error?
```
Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.

fatal: unable to access <git_repo>: The requested URL returned error: 403
```
**SAME!**
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2overfgtcjnaqyhzebc1.png)

But don't worry, **I got you!** I primarily work on MacOS, but I will walk you through how to remedy this. The problem is that GitHub now requires the use of Personal Access Tokens to access your repos locally on your computer. 

**Long story short, you will need to do 2 things:**
**1.** create a [**Personal Access Token**](https://github.com/settings/tokens) in GitHub
**2.** update your **Keychain Access** with the new token

##So let's get you back up and running!

You will need to navigate to your [**GitHub profile**](https://github.com).

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/78c7emj2gxxcog9bjn9y.png)

Select **Settings** from the dropdown menu.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2ffe0xsx8bq7x3l60lrl.png)
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fuoam2fuzvqxtrda10y2.png)

Under [**Account settings**](https://github.com/settings/profile), click on the [**Developer settings**](https://github.com/settings/apps) tab.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6chwsc7k0e7l896rz4n1.png)

Select [**Personal access tokens**](https://github.com/settings/tokens) from the left tab.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3n8r70jk2ae8sjfpshfz.png)

Click the [**Generate new token**](https://github.com/settings/tokens/new) button

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g2uqazi34hb5kvazowqm.png)
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9p8raxh41g86jlgk9oq7.png)

Select the **Scope** of access you want the token to have to your GitHub account.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uqcynshlaknzc0jtbmsd.png)

**REMEMBER** to copy your personal access token someplace **SAFE**! 
You won't be able to access it later.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jer15oko1ugsll4eqqri.png)

Find **Launchpad** from the menubar or in **Applications**.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c7nioup8yigom8q7l6gz.png)

Open up **Launchpad**.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4s8yqwfhkd7g1llbaoww.png)

Search for **Keychain Access**.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ynqjdf87bog5gelvogtd.png)

Open up **Keychain Access**.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dl72v4dfy65j77a83e3r.png)

Open up the **github.com** keychain access.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tycqeagxwsep1zasvx4x.png)

Click on the checkbox next to **Show password**.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u62pjvyql5mlvz12uks1.png)

Enter in your system admin **Password**.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7bjvzj49npq05uhis1g5.png)

Click **Allow**.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5o3zc8uqdsx6c0o4vzm7.png)

Add the [**Personal access token**](https://github.com/settings/tokens) to **Show password**.
Click **Save Changes**.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/61yn74grkjhmy5id3wk9.png)

Now **PUSH THOSE CHANGES** to your GitHub repository!

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rdlwd06vb9pl5b1g3xcx.png)

#**VOILÀ!**


##You've Got This!
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/18jfnp4tbjwyygexin2z.gif)

Tune in next week for more Tutorial Tuesday fun!

Connect w Me!
https://linktr.ee/jritten