Pick your Default Branch
Most repos use the branch master as their default, but Git doesn’t force this upon you and why should we? Now you can change it to whatever you want. This…
Most repos use the branch master
as their default, but Git doesn’t force this upon you and why should we? Now you can change it to whatever you want. This means two things (using ant as an example):
- http://github.com/apache/ant redirects to http://github.com/apache/ant/tree/trunk
- git clone git://github.com/apache/ant.git will have
trunk
checked out by default
Written by
Related posts

From MCP to multi-agents: The top 10 new open source AI projects on GitHub right now and why they matter
Get insights on the latest trends from GitHub experts while catching up on these exciting new projects.

Racing into 2025 with new GitHub Innovation Graph data
Discover the latest trends and insights on public software development activity on GitHub with the quarterly release of data for the Innovation Graph, updated through December 2024.

GitHub Availability Report: March 2025
In March, we experienced one incident that resulted in degraded performance across GitHub services.