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

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