translator comment - what is branch, and also, "a branch name appears after this message" or something. For true i18n, it would be better to pass in "branch_name" as a positional argument within the translator string, so that languages where the branch's name would appear in a different location in the string would have a more coherent translation -- eg
```
_('Successfully switched to branch {branch_name}').format(branch_name=branch)
```