[!DANGER!]failed to forbid an old account from accessing to a github respository through github desktop

I tried to forbid an old account from accessing to a github respository , but totally failed.
I Have tried the ways below ,but the GitHub Desktop which login three weeks ago can still access the respository totally with pull, push,commit, etc.
(1)change the password of the github account through Chrome Browser. The GitHub Desktop which login three weeks ago can still access the same respository without update the password.
(2)change the ownership of the respository from one to another new one. But the GitHub Desktop which login three weeks ago can still access the respository without changing anything (git url is old, password is old, but can still access the respository totally with pull, push,commit, etc.)

We can response to the Admin pannel, we have made Staff power

@WenTianShi welcome, and thanks for the question.

GitHub Desktop uses an OAuth token which allows it to access your GitHub account. This OAuth token is still valid even if the password associated with your GitHub account changes.

You can revoke OAuth applications by going to https://github.com/settings/applications – see this article for more information. GitHub has a full guide for resetting all of the various access credentials in the case of your account being compromised.

I hope that helps! Let me know if you have any other questions about this.