Hasty Briefsbeta

Git 3.0 will use main as the default branch

14 hours ago
  • #Software Development
  • #Git
  • #Version Control
  • Git 3.0 will change the default branch for new repositories from 'master' to 'main'.
  • Git 2.52 patch notes confirm this change, effective starting Git 3.0.
  • The Software Freedom Conservancy announced this change in June 2020, followed by GitHub in October 2020.
  • Git 3.0 is estimated to release near the end of 2026.
  • Other planned changes for Git 3.0 include switching from SHA-1 to SHA-256 for improved security.
  • Default storage format updates to enhance macOS and Windows support and performance.
  • Rust will be more formally integrated into Git's build process.