check $DEPLOY_BRANCH before attempting to use it
Delete empty folders after sync. Doc updates