git tire si exister et clone

if cd repo; then git pull; else git clone https://server/repo repo; fi
Disgusted Dugong