functions: Handle older versions of git
Merge pull request #31 from enovance/handle-older-git

functions: Handle older versions of git