title: Import repository from git to gerrit
body: <p>I have two questions about Gerrit:</p>
  
  <ol>
  <li><p><strong>How do I convert or import an already existing Git repository into Gerrit's format?</strong> There were a lot of commits without Gerrit control, I want to simply push those commits into a Gerrit project.</p>
  
  <p>I see two ways to do it:</p>
  
  <ol>
  <li><p>Copy existing bare Git directory to Gerrit and then add it to database. Is that a safe method?</p></li>
  <li><p>Push all commits from my local repository to gerrit repository.</p></li>
  </ol></li>
  <li><p><strong>How to revert repository from Gerrit to original Git format?</strong> Is it required to remove Gerrit's special <code>*/for/*</code> branches to do that?</p></li>
  </ol>