Back to GitHub Support Contact GitHub

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 means two things (using ant as an example):

  • redirects to
  • git clone git:// will have trunk checked out by default

Have feedback on this post? Let @github know on Twitter.
Need help or found a bug? Contact us.


Discover new ways to build better

Try Marketplace apps free for 14 days

Learn more