'How do I push git even after using PAT

I tried to push some command to remote GitHub, even after using the PAT (personal access token) I'm still facing this problem. please help.

C:\Users\adegu\projectwork>git push
Logon failed, use ctrl+c to cancel basic credential prompt.
Username for 'https://github.com': Mr-Art-coder
Password for 'https://[email protected]':
remote: Support for password authentication was removed on August 13, 2021. Please use a 
personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git- 
operations/ for more information.
fatal: Authentication failed for 'https://github.com/Mr-Art-coder/projectwork.git/'


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source