title: How can I clone a module from linux kernel?
body: <p>If I only want to focus on a module of <code>linux</code>, such as <code>perf</code>, how can I just fork or download <code>perf</code> module related files from <a href="https://github.com/torvalds/linux/tree/master/tools/perf" rel="nofollow">github</a>? I have tried the following command:  </p>
  
  <pre><code>c:\work&gt; git clone https://github.com/torvalds/linux/tree/master/tools/perf
  Cloning into 'perf'...
  fatal: repository 'https://github.com/torvalds/linux/tree/master/tools/perf/' not found
  </code></pre>
  
  <p>But it can't work.</p>