conf: make git command work with older git versions too