The switch command allows you to change the current branch after opening a repository.
switch
Last updated 11 months ago