Refreshing Personal Access Token in GitHub

Step 1: Login to your GitHub account

Step 2: On the upper right portion of the main page, click on the user icon

Step 3: Click Settings

Step 4: Click Developer Settings

Step 5: Click Personal Access Tokens

Step 6: Click on an existing token to refresh

Step 7: Make sure admin:repo_hook is checked

Step 8: Click on Regenerate token

Step 9: Copy the generated token