Autocompletion
If you configured auto-completion, you can easily get a list of branches if you know the first characters of the branch name:
git switch branch[TAB]
---> branch-foo
---> branch-bar
---> ...
This is a small interactive branch switcher based on fzf. It shows local and remote branches in
one list, previews recent commits, and if you select a remote-only branch it creates the local
tracking branch for you.