pub fn use_branch(repo_path: &str, branch_name: &str) -> Result<String, Error>
Switch to a git branch, remove all other branch, and remove the remote repository.