Set github global username/email configuration on ubuntu
I executed below two commands and issue got resolved.
$ git config --global --unset credential.helper
$ git config credential.helper store
After that you use $git pull
and enter your credential one time