Use subprocess instead of os.system to git clone.