fixed an issue preventing the API generator from running, and batched the git-fetch calls for each es branch