checks out trunk, qa, and production branches