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
trunkchecked out by default

Written by
Related posts
Art of play in the age of AI
Now that code ships faster than ever, you have more time to spend on projects just for the fun of it. Here’s what we can learn through that process as developers.
These are the gifts developers will actually want
The developer you’re shopping for hasn’t shared their holiday wish list with you yet? Check out these gifts, plus our Black Friday discount all week long.
GitHub availability report: October 2026
In October, we experienced eight incidents that resulted in degraded performance across GitHub services.