pub fn checkout_branch_in_repo( repo: &Repository, branch_name: &str, ) -> Result<()>
Repositoryでブランチを切り替え