make `compare` and `browse` default branch-aware