“Temporary clone tokens are read-only.”

github

I'm trying to push a change to a repository (public, as URL) that I created. However, I'm getting the following message. Googling doesn't seem to help.

> git push origin master
remote: Temporary clone tokens are read-only.
fatal: unable to access 'https://github.com/tackline/Little-Bean.git/': The requested URL returned error: 403

The only thing I seem to have done differently is going into the github settings to make the repository public and remove the extra "Features".

What does it mean beyond "403 Forbidden" and how do I fix it?

Update: I've checked Personal settings > Security and two factor authentication is not set up.

However, I find within the Security log section there is a "oauth_authorization.create" followed by failed login attempts.

tackline – user.failed_login
Failed to login
94.118.116.179 Edmonton, England, United Kingdom 3 days ago

@tackline tackline – oauth_authorization.create
Created authorization for OAuth application (GitHub Support) with read:org, read:user, user:email scope(s)
94.118.116.179 Edmonton, England, United Kingdom 3 days ago

@tackline tackline – user.login
Logged in
94.118.116.179 Edmonton, England, United Kingdom 3 days ago

Edit: With @WebManiaK answer I've found the problem. I'll let the bounty run most of its course then add a self-answer to give details.

Best Answer

Since you mentioned your repository is public and served as URL, I presume you are trying to push using an HTTPS connection. That's fine for most cases, but you may have a better and safer experience by using the SSH connection instead. You'll find how to set that up in GitHub's help center, should you want to.

That said and to come back to your initial question, that might have something to do with Two Factor Authentication. If you activated 2FA on your account, then you have to provide the Git client (namely, your terminal for sending git commands) a personal access token instead of your password when authenticating.

Your error message suggests (403: Forbidden) you cannot get through that specific process and GitHub is not able to log you in.

I would add that removing extra features such as the Wiki or the issue tracker from a repository does not have any impact on the authentication process.