not only the thing mentioned above, but drills and stretches that are performed before or after the game also helped in the proper stretch of the body. The style of the drills varies from coach to coach. For example, there is a drill called German drill in which the players have to run across the court several times. Some of the coaches prefer a different route (Baseline to half court or baseline to three point line) and some prefer different methods (with or without ball).
Overall basketball helps in increasing the height. Jumping involved is the main reason of growth of a person. So if you are looking forward to increase your height, try playing basketball as it will help you increase the height in a fun way. Along with this, proper diet and exercise is necessary to support the growth of the body.