Clean up code from git-credential-store