I was getting the prompt for user name and password when I tried to do a git pull. And every time it was erroring out. I saw a comment to use private access key (classic one) and then I went to git hub repository and created a private access key. Then, in my terminal i tried git pull, i gave my github user name first, and for the password, i pasted my private access key, and hola! It worked.