title: Failing to connect to github.com
body: <p>When I try to push to a Git repository on Heroku I obtain the following error:</p>
  
  <blockquote>
    <p>fatal: unable to access '<a href="https://git.heroku.com/xxxxxxxxx.git/" rel="nofollow noreferrer">https://git.heroku.com/xxxxxxxxx.git/</a>': Failed to connect to github.com port 9836: Operation timed out</p>
  </blockquote>
  
  <p>I also obtain the same error when I try to clone any repository from github.com.</p>
  
  <p>I have tried the following command with no success</p>
  
  <pre><code>git config --global http.proxy github.com:9836
  git config --global https.proxy github.com:9836
  </code></pre>