git: switch-to-default with wt

107 · Thiago Perrotta · June 14, 2026, 6:38 p.m.
Summary
The blog post discusses a new Git alias, `switch-to-default`, which addresses the confusion around branch naming conventions (main vs. master) when switching branches. This alias improves the workflow by using Worktrunk to track the default branch and creating a fallback mechanism for Git users not using Worktrunk. The content aims to streamline the development process by providing a more reliable command for switching to the default branch.