Fetch the content of a endpoint. Multiple branches can be given, the content returned will also include which was the valid branch.
get_endpoint_content(endpoint, branchs = c("master", "main"), token = "")A named list with the branch name and the repo content
The github endpoint to search.
The branches to search. Defaults to main and master.
A github personal access token. Defaults to none.