title: What does this Ruby code mean?
body: <p>I am trying to make a backup restore of gitlab and it kind of works but th command line always says that the restore of the repositories failed. I think I found the conditional statement in the code which responsible for the [failed] statement. Has someone a clue what this is doing or know a direction in which I should go to find my mistake? </p>
  
  <pre><code> if Kernel.system("git clone --bare #{path_to_bundle} #{project.repository.path_to_repo} &gt; /dev/null 2&gt;&amp;1")
  puts "[DONE]".green                                                                                                                                                               
            else                                                                                                                                                                                
              puts "[FAILED]".red                                                                                                                                                               
            end 
  </code></pre>