when changing the branch selection in the dropdown menu on the repo page, it resets back to HEAD.
I think it may be that the page is reloading to the correct URL, but then the dropdown may be triggering another change back to HEAD?
The formatting of the dropdown is a bit wonky. For the HEAD option, there is a 'value' attribute but it has no value. No option is marked as SELECTED. This may be related to the problem, but I'm not sure.