Try this:
Go to the page https://github.com/settings/tokens -> generate a new token, for example, classic -> check some checkboxes for your repository -> copy the generated token and use it as the password.
BR