title: Initial push to a new remote git repository
body: <p>I tried to do an initial push from a local repository to a Gitlab one. The local repository was cloned from an OpenShift one and all the changes are committed and pushed. The Gitlab repository is a fresh one.</p>
  
  <pre><code>git remote add gitlab git@gitlab.com:myorg/myproject.git
  git push -u gitlab master
  </code></pre>
  
  <p>I get this error</p>
  
  <pre><code>error: object file .git/objects/77/236a32f242ea4e72d54540ac414c798d636d00 is empty
  fatal: loose object 77236a32f242ea4e72d54540ac414c798d636d00 (stored in .git/objects/77/236a32f242ea4e72d54540ac414c798d636d00) is corrupt
  remote: fatal: early EOF
  error: failed to push some refs to 'git@gitlab.com:myorg/myproject.git'
  </code></pre>
  
  <p>Any idea how can I fix this?</p>