{
    "content": "<h1>The .git\/credentials File<\/h1><p>The <strong>.git\/credentials<\/strong> file is a storage mechanism used by the <a href=\"..\/git-credential-store\/\">git-credential-store<\/a> helper to persist <a href=\"..\/Authentication\/\">Authentication<\/a> data for <a href=\"..\/Git\/\">Git<\/a>. When this helper is enabled via the <a href=\"..\/git-config\/\">git-config<\/a> command, <a href=\"..\/Git\/\">Git<\/a> saves usernames and passwords in a plain-text format, typically located in the user's home directory. While this provides convenience for automated workflows, it presents significant <a href=\"..\/Security\/\">Security<\/a> risks because the credentials are not encrypted on the filesystem. Users are often encouraged to use more secure alternatives such as the <a href=\"..\/git-credential-cache\/\">git-credential-cache<\/a> or platform-specific managers like the <a href=\"..\/Windows-Credential-Manager\/\">Windows Credential Manager<\/a> or <a href=\"..\/macOS-Keychain\/\">macOS Keychain<\/a>. Technical details regarding its implementation can be found in the <a href=\"https:\/\/git-scm.com\/docs\/git-credential-store\">official Git documentation<\/a>.<\/p><ul><li><a href=\"..\/git-credential-cache\/\">git-credential-cache<\/a><\/li><li><a href=\"..\/ssh-keys\/\">ssh-keys<\/a><\/li><li><a href=\"..\/security-best-practices\/\">security-best-practices<\/a><\/li><li><a href=\"..\/personal-access-tokens\/\">personal-access-tokens<\/a><\/li><\/ul>",
    "tags": [
        "git",
        "credentials",
        "security",
        "authentication",
        "version-control",
        "configuration",
        "devops",
        "linux",
        "git-store",
        "automation"
    ]
}