Remove obsolete

Rebased #181 and added `Branch.AheadBy` and `Branch.BehindBy` to the mix.