git clone https://github.com/apache/hadoop.git
git clone -b branch-2.9.2 https://github.com/apache/hadoop.git
其中的branch-2.9.2就是版本号