Git login Problem In Android Studio

I have integrated git with android but unfortunately unable to login in android.
Incorrect credentials. Request response:401 Unauthorized.
Though I have put right id and password

:wave: Welcome!

I’d say you probably have to use a token instead of a password.

You can generate a token here: https://github.com/settings/tokens

I have used token but still same issue

in the credentials box, do you have github.com as the server? Or http://github.com? It looks like that can make a difference.