title: Git push results in fatal: protocol error: bad line length character: This
body: <p>I am trying to get GitLab working on my server (running CentOS 6.5). I followed the <a href="https://github.com/gitlabhq/gitlab-recipes/blob/master/install/centos/README.md">gitlab-receipe</a> to the line, but I just can't get it working. I am able to access the web interface, create new projects but pushing to the master branch returns the following error : </p>
  
  <pre><code>fatal: protocol error: bad line length character: This
  </code></pre>
  
  <p>I have done checks on the production environment, here are the results : </p>
  
  <pre><code>Checking Environment ...
  
  Git configured for git user? ... yes
  
  Checking Environment ... Finished
  
  Checking GitLab Shell ...
  
  GitLab Shell version &gt;= 1.7.9 ? ... OK (1.8.0)
  Repo base directory exists? ... yes
  Repo base directory is a symlink? ... no
  Repo base owned by git:git? ... yes
  Repo base access is drwxrws---? ... yes
  update hook up-to-date? ... yes
  update hooks in repos are links: ... 
  ASC / Wiki ... repository is empty
  Running /home/git/gitlab-shell/bin/check
  Check GitLab API access: OK
  Check directories and files: 
      /home/git/repositories: OK
      /home/git/.ssh/authorized_keys: OK
  Test redis-cli executable: redis-cli 2.4.10
  Send ping to redis server: PONG
  gitlab-shell self-check successful
  
  Checking GitLab Shell ... Finished
  
  Checking Sidekiq ...
  
  Running? ... yes
  Number of Sidekiq processes ... 1
  
  Checking Sidekiq ... Finished
  
  Checking LDAP ...
  
  LDAP is disabled in config/gitlab.yml
  
  Checking LDAP ... Finished
  
  Checking GitLab ...
  
  Database config exists? ... yes
  Database is SQLite ... no
  All migrations up? ... yes
  GitLab config exists? ... yes
  GitLab config outdated? ... no
  Log directory writable? ... yes
  Tmp directory writable? ... yes
  Init script exists? ... yes
  Init script up-to-date? ... no
    Try fixing it:
    Redownload the init script
    For more information see:
    doc/install/installation.md in section "Install Init Script"
    Please fix the error above and rerun the checks.
  projects have namespace: ... 
  ASC / Wiki ... yes
  Projects have satellites? ... 
  ASC / Wiki ... can't create, repository is empty
  Redis version &gt;= 2.0.0? ... yes
  Your git bin path is "/usr/bin/git"
  Git version &gt;= 1.7.10 ? ... yes (1.8.3)
  
  Checking GitLab ... Finished
  </code></pre>
  
  <p>For the init script error, the receipt says </p>
  
  <blockquote>
    <p>Do not mind about that error if you are sure that you have downloaded
    the up-to-date</p>
  </blockquote>
  
  <p>so as I have downloaded the latest one, I can't really do much about it.</p>
  
  <p>I've been banging my head for the past week, and can not figure out why this error is occurring, any help would appreciated!!</p>