support git 1.8.5

the format of git-branch has recently changed, in a way which was
preventing git-slides from figuring out the branch in which it should
move forwards and backwards in time.