pub fn list_branches_from_repo(repo: &Repository) -> Result<Vec<BranchInfo>>Expand description
Get the list of local branches from a Repository
Sort order: current branch -> main/master/develop -> others (alphabetical)
Stale branches (deleted on remote) are marked with is_gone = true