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