Interactively select a new branch
npm i -g switch-branch
Add as git alias: git config --global alias.switch-branch git-switch-branch
Simply run git-switch-branch
(or git switch-branch
if you added the alias) in a directory with git initialised,
then select one of the branches.
-r
option to list available remotes that do not have a local branch yet.