fixes #778 so that the history, getContent and diff commands work properly with branches (and so Fabric)