Goal
As part of a tool I'm building, I am exporting a GitHub repository using lib2gitsharp.
I'd like to pull the repository, all tags, and all origin branches at the time of archiving, to ensure they're preserved.
Progress So Far
- ✔ I am able to clone the repository and its tags
- ❌I am unable to bring down the branches from origin into the local repo.
Question
Conceptually within libgit2sharp, what needs to be done in order to retrieve a branch from the remote origin and ensure that it is available locally?
I think that it's a combination of a fetch and a merge, but I have had no such luck combining those operations for a successful outcome.