How to save git username and password

July 6, 2020

You can use this code before a pull or push:

git config --global credential.helper store

git add -A
git commit -m "message"
git push
# your credentials will be asked here, after that they will be stored in your system