adding versioning to --single-branch

We'd like to use strider on Modulus.io. Unfortunately their environment has git version 1.7.x which does not yet have the --single-branch option. There is already a gitVersion function which was not used anywhere, so I added it to check whether to use the --single-branch option or not.