git tarik jika ada dan klon

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