A comprehensive guide for creating Debian packages in 2025 using Git, emphasizing the importance of preserving upstream Git history for improved software provenance and supply-chain security. The article details an optimal workflow for packaging, including using Git for version control, following DEP-14 conventions, and leveraging Salsa for CI and peer reviews, illustrated through the example of packaging the Entr command-line tool.
debian ✓
packaging ✓
git ✓
+ salsa
security ✓