Store Git Credentials in Repo
I found this solution in StackOverflow: https://stackoverflow.com/a/35942890/39893
Store Credentials
To store your credentials in a git repo, go into the repo (cd ...
) and type
git config credential.helper store
then
git pull
then enter username & password to store it.
Update Credentials
If you want to update the password, repeat the above steps.