Refactor branch view and add styling