title: What is git's relationship to repo?
body: <p>I'm trying to do some contributing to Cyanogenmod. As per the directions at <a href="https://github.com/CyanogenMod/android_vendor_cm" rel="nofollow noreferrer">https://github.com/CyanogenMod/android_vendor_cm</a>, I do the following:</p>
  <pre><code>repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
  repo sync
  </code></pre>
  <p>And, as expected, after a few hours I have the CM source! However, the documentation at <a href="http://source.android.com/source/developing.html" rel="nofollow noreferrer">http://source.android.com/source/developing.html</a> is a little confusing.</p>
  <blockquote>
  <h2>Basic Workflow</h2>
  <p>The basic pattern of interacting with the repositories is as follows:</p>
  <p>Use repo start to start a new topic branch.</p>
  <p>Edit the files.</p>
  <p>Use <code>git add</code> to stage changes.</p>
  <p>Use <code>git commit</code> to commit changes.</p>
  <p>Use <code>repo upload</code> to upload changes to the review server.</p>
  </blockquote>
  <p>Since the documentation states &quot;Repo is a repository management tool that we built on top of Git.&quot; I assumed that once I initialized an android repo (and the fact that the URL ended in <code>.git</code>) the repo automatically would contain such an environment that I could use <code>git</code>. When I tried to follow the <strong>Basic Workflow</strong> instructions, however, git complained that it didn't find a git repository. This makes sense because I only saw a <code>.repo</code> directory, and no <code>.git</code> directory, like git expects.</p>
  <p>So, then, do I need to initialize my own git repository? The instructions aren't very clear on that.</p>
  <p>Thanks!</p>