As the repository is already fully downloaded, I think that something like this should work (Warning: untested code)

```csharp
var branchName = "..."
var b = repo.FindBranch[branchName];
repo.Checkout(b, CheckoutModifiers.Force);
```