Rsync exclude

$ rsync -a --exclude=/dir/.git dir [user@]host[:dest]