Filter detached HEAD pseudo-refs from branch listings

- ignore branch lines starting with `(` when parsing `git branch` output
- add integration test to verify detached HEAD does not appear as a branch
10c2efe696Julius Marminge committed on 3/1/2026, 5:08:25 AMparentff3e81d
2 files changedLine totals unavailable