Support older versions of git, removed --single-branch