Decide command according to git version.