modify the git command according to the updated Git version.