$ git config credential.helper store
$ git pull
#provide user-name and password and those details will be remembered later. The credentials are stored in the disk, with the disk permissions.
$ git config credential.helper store
$ git pull
#provide new password and it will work like before.