Fix branch option for earlier versions of git.

Fixes issue #117.