title: Cocoapods: Failed to connect to GitHub to update the CocoaPods/Specs specs repo
body: <p>When running <code>pod repo update</code> the following error is generated:</p>
  
  <pre><code>Updating spec repo `master`
  [!] Failed to connect to GitHub to update the CocoaPods/Specs specs repo - Please check if you are offline, or that GitHub is down
  </code></pre>
  
  <p><br/>
  Using cocoapods 1.0.1</p>
  
  <p>I'm also aware of this: <a href="http://blog.cocoapods.org/Master-Spec-Repo-Rate-Limiting-Post-Mortem/" rel="noreferrer">Master spec-repo rate limiting post‑mortem</a>.</p>
  
  <p><br/>
  Adding --verbose flag to the call shows the ruby call stack:</p>
  
  <pre><code>.rvm/gems/ruby-2.3.0/gems/cocoapods-core-1.0.1/lib/cocoapods-core/github.rb:100:in `modified_since_commit'
  .rvm/gems/ruby-2.3.0/gems/cocoapods-core-1.0.1/lib/cocoapods-core/master_source.rb:32:in `requires_update?'
  .rvm/gems/ruby-2.3.0/gems/cocoapods-core-1.0.1/lib/cocoapods-core/master_source.rb:14:in `update'
  .rvm/gems/ruby-2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/sources_manager.rb:88:in `block (2 levels) in update'
  .rvm/gems/ruby-2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/user_interface.rb:63:in `section'
  .rvm/gems/ruby-2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/sources_manager.rb:87:in `block in update'
  .rvm/gems/ruby-2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/sources_manager.rb:86:in `each'
  .rvm/gems/ruby-2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/sources_manager.rb:86:in `update'
  .rvm/gems/ruby-2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/command/repo/update.rb:23:in `run'
  .rvm/gems/ruby-2.3.0/gems/claide-1.0.0/lib/claide/command.rb:334:in `run'
  .rvm/gems/ruby-2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/command.rb:50:in `run'
  .rvm/gems/ruby-2.3.0/gems/cocoapods-1.0.1/bin/pod:55:in `&lt;top (required)&gt;'
  .rvm/gems/ruby-2.3.0/bin/pod:23:in `load'
  .rvm/gems/ruby-2.3.0/bin/pod:23:in `&lt;main&gt;'
  .rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `eval'
  .rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `&lt;main&gt;'
  </code></pre>
  
  <p><br/></p>
  
  <p>Can't find any way to workaround this and cannot run the project.</p>