Works on older versions of git