Question: Where did you learn how to do it?
Analysis

1. Identify what "it" refers to in the context of the conversation or question. 2. Provide details about the place or source where you acquired the skill or knowledge, such as a school, online course, self-taught, etc.

Synonyms
Try these synonyms instead of repeating the question:
  1. learnacquire; master
  2. how to do itthe skill; the technique