Save username and password in Git
1. Configure Git Credential Helper
git config --global credential.helper store
2. Pull from Git Repository
When you run "git pull" for the first time, provide your username and password. These details will be remembered for future use.
Note: The credentials are stored in a file on the disk, with permissions set to "just user readable/writable" but still in plaintext.
3. Changing the Password
If you need to change the password later, the "git pull" command will fail due to an incorrect password. Git will then remove the user+password from the ~/.git-credentials file. To provide a new password, re-run the "git pull" command.
By following these steps, you can save your username and password in Git, allowing for easier authentication when pulling from the repository.