title: "Failed to connect to github.com port 443: Connection timed out" when pushing to remote repository
body: <p>I've 'googled' and 'stackoverflowed' so much but I haven't found a solution for my problem.</p>
  
  <p>I'm on Ubuntu and try <strong>for the first time</strong> git.</p>
  
  <p>I did:</p>
  
  <pre><code>sudo apt-get install git
  </code></pre>
  
  <p>and created an account on the website (and verified the email, everything is ok). Then I</p>
  
  <pre><code>git config --global user.name "&lt;my_name_here&gt;"
  </code></pre>
  
  <p>and</p>
  
  <pre><code>git config --global user.email "&lt;my_email_here&gt;"
  </code></pre>
  
  <p>Then I went to the website and created a public repository called <code>gittest</code> (I did not initialized with a README nor added licence or .gitignore). Then I</p>
  
  <pre><code>mkdir gittest
  </code></pre>
  
  <p>on my desktop and</p>
  
  <pre><code>cd /Desktop/gittest
  </code></pre>
  
  <p>Then:</p>
  
  <pre><code>echo "# gittest" &gt;&gt; README.md
  git init
  git add README.md
  git commit -m "first commit"
  git remote add origin https://github.com/&lt;my_username&gt;/gittest.git
  </code></pre>
  
  <p>and finally</p>
  
  <pre><code>git push -u origin master
  </code></pre>
  
  <p>And that's the tragedy:
  by clicking enter after written <code>git push -u origin master</code> it does nothing and after (many) seconds it returns an error message:</p>
  
  <blockquote>
    <p>fatal: unable to access '<a href="https://github.com/" rel="noreferrer">https://github.com/</a>/gittest.git/': Failed to connect to github.com port 443: Connection timed out</p>
  </blockquote>
  
  <ul>
  <li>How do I resolve? Please help</li>
  </ul>
  
  <p><strong>EDIT</strong></p>
  
  <p>If I </p>
  
  <pre><code>echo "$http_proxy"
  </code></pre>
  
  <p>or</p>
  
  <pre><code>echo "$https_proxy"
  </code></pre>
  
  <p>nothing happens (the terminal returns me an empty row).</p>