Recall & Review
beginner
What is the purpose of credential storage in Git?
Credential storage in Git saves your username and password so you don't have to enter them every time you interact with a remote repository.
Click to reveal answer
beginner
Name one way Git can store credentials securely on your computer.
Git can use a credential helper like 'git-credential-cache' or 'git-credential-store' to save credentials temporarily or permanently.
Click to reveal answer
intermediate
What does the 'git-credential-cache' helper do?
It stores your credentials in memory for a short time (default 15 minutes), so you don't have to re-enter them during that period.
Click to reveal answer
intermediate
How does 'git-credential-store' differ from 'git-credential-cache'?
'git-credential-store' saves your credentials permanently in a plain text file on disk, while 'git-credential-cache' keeps them temporarily in memory.
Click to reveal answer
intermediate
What is a secure way to store Git credentials on Windows?
Using the 'Git Credential Manager' which integrates with Windows Credential Manager to store credentials securely.
Click to reveal answer
Which Git command sets the credential helper to cache credentials temporarily?
✗ Incorrect
The 'cache' helper stores credentials temporarily in memory.
Where does 'git-credential-store' save your credentials?
✗ Incorrect
'git-credential-store' saves credentials permanently in a plain text file.
What is the risk of using 'git-credential-store'?
✗ Incorrect
Storing credentials in plain text can expose them to unauthorized users.
Which credential helper is recommended for secure storage on Windows?
✗ Incorrect
Git Credential Manager integrates with Windows Credential Manager for secure storage.
How can you disable credential caching in Git?
✗ Incorrect
Setting credential.helper to an empty string disables credential helpers.
Explain the differences between 'git-credential-cache' and 'git-credential-store'.
Think about how long credentials are saved and where.
You got /4 concepts.
Describe how you would securely store Git credentials on a Windows machine.
Consider Windows built-in secure storage.
You got /4 concepts.