Kindly run following command -
git config --global credential.helper cache
and then run any git command like git pull it will ask for username and password. Enter the details and if you want to store your git credentials, run following command -
git config --global credential.helper store