"Store" mode will use plaintext credentials stored on disk, and never expire. This means that unless you change your password on Git server, or you never need to enter your credentials again. The disadvantage of this approach is that your password is stored in clear text in your home directory.
Excuting an order:
git config --global credential.helper store
git pull
Enter your user name and password store mode will store
View system stores user names passwords
cat ~/.git-credentials