call git with system()