If this issue comes in IntelliJ Idea, then it's problem with the ssh key paraphrase.
I would suggest deleting the ssh keys both from local machine and GitHub account.
Generate new set of keys without paraphrase and do the setup, this time it should work.
for deleting the ssh keys, go to ssh folder
For mac os , linux
Execute these commands
1.cd ~/.ssh
2.ls
check for keys in the output of above ls command.
delete the keys which start with id_rsa or which start with id.
For windows as well Process remains same, deleting the keys and generating again without parapharse, but i am unable to give the commands.