pub fn switch(branch_name: &str) -> Result<(), Box<CmdError>>
Checkout a branch or detach HEAD.
git switch