#!/bin/zsh if test -d website then echo "Directory 'website' already exists..." exit 1 else git clone https://github.com/OfflineIMAP/offlineimap.github.io.git website cat </offlineimap.github.io.git You can now push your WIPs with: $ git push myfork : EOF fi