How to handle multiple branches in web based editor?

Hello guys i am making a hugo web based editor but i was wondering …If a person has more than two branches for a project on github how should i pull them to my platform.
here is how it looks so far.