Command line authentication failed

Recently I’ve got a message that authentication with password will stop working.
And yesterday it stopped.
I am using 'git pull origin … ’ command in command line
after that I am cancelling login box, typing my username in command line and password in command line
it worked fine until yesterday
I created a token with full access to repo and tried typing it in password command line but got ‘fatal: Authentication failed for repo’