Read the dictionary definition of twig. All definitions for this word.
1. a small branch or division of a branch (especially a terminal division); usually applied to branches of the current or preceding year
2. branch out in a twiglike manner
1. The lightning bolt twigged in several directions
3. understand, usually after some initial difficulty
1. She didn't know what her classmates were plotting but finally caught on