git fetchgit checkout origin/master -- path/to/file可以單獨(dú)獲取github repo中的單個文件git checkout origin/master -- path/to/file