title: Pod repo push for private repo encounters error: Repository not found
body: <p>I'm setting up my first cocoapod on my private repo, however when trying to run <code>pod repo push my-specs mypod.podspec</code> , I get 
  <code>fatal: repository 'https://github.com/myusername/repo.git/'</code> not found</p>
  
  <p>This is for a private internal iOS codebase that I am modularising for re-use and installation via cocoapods</p>
  
  <p>This is my .podspec:</p>
  
  <pre><code>Pod::Spec.new do |s|
    s.name             = 'podname'
    s.version          = '1.0.1'
    s.summary          = 'A short description'
  
    s.description      = &lt;&lt;-DESC
  TODO: Add long description of the pod here.
                         DESC
  
    s.homepage         = 'https://github.com/username/repo'
    # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
    s.license          = { :type =&gt; 'MIT', :file =&gt; 'LICENSE' }
    s.author           = { 'username' =&gt; 'email@address.com' }
    s.source           = { :git =&gt; 'https://github.com/username/repo.git', :tag =&gt; s.version.to_s }
    # s.social_media_url = 'https://twitter.com/&lt;TWITTER_USERNAME&gt;'
  
    s.ios.deployment_target = '8.0'
  
    s.source_files = 'podname/Classes/**/*'
  
  end
  </code></pre>
  
  <p>What I'm getting on trying to push the repo is </p>
  
  <pre><code> -&gt; podname (1.0.1)
      - WARN  | summary: The summary is not meaningful.
      - WARN  | url: The URL (https://github.com/username/repo) is not reachable.
      - ERROR | [iOS] unknown: Encountered an unknown error ([!] /usr/bin/git clone https://github.com/username/repo.git /var/folders/mp/3ny_fkts3p11rwpry385gqb80000gn/T/d20190510-71011-gu0kly --template= --single-branch --depth 1 --branch 1.0.1
  
  Cloning into '/var/folders/mp/3ny_fkts3p11rwpry385gqb80000gn/T/d20190510-71011-gu0kly'...
  remote: Repository not found.
  fatal: repository 'https://github.com/username/repo.git/' not found
  ) during validation.
  
  [!] The 'podname.podspec' specification does not validate.
  </code></pre>