Przejdลบ do treล›ci

๐Ÿ›ก๏ธ Git Security

Security practices for managing repositories and deployments.


๐Ÿ” SSH Keys

  • Use strong RSA/ED25519 keys
  • Protect private keys with passphrase
  • Store keys securely

๐Ÿงฉ Signed Commits

1
git config --global commit.gpgsign true

Ensures authenticity of commits.


๐Ÿ›ก๏ธ Branch Protection

  • Protect main
  • Require PR reviews
  • Require CI checks

๐Ÿ”„ Backup Strategy

  • Mirror repositories
  • Store off-site backups
  • Use tags for stable releases