Simplify getting branch names
Add specs for `set_option(:header_style, ...)`