Git -Ziehen, wenn existieren und klonen

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