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
29825f2f8aJulius Marminge committed on 3/1/2026, 5:56:22 AM· committed by Julius Marmingeparentefcee4b
2 files changedLine totals unavailable