See Drupal Flight Control
This could happen, if you are using SSL certificates on your version control system, that are either
To fix this on Ubuntu or Debian systems, you can run these lines: