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