I am a beginner to start with git. I have created my account on github. I created a new repository. But I am not able to push or update changes in github using the terminal. I am running the following commands:
mkdir ~/TestApplication
cd ~/TestApplication
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin https://github.com/vinayptl/TestApplication.git
git push origin master
When I execute last command git push origin master
, it freezes for some time and give following error:
error: Failed connect to github.com:443; Connection timed out while accessing
https://github.com/vinayptl/TestingApplication.git/info/refs
fatal: HTTP request failed
I am working on Linux Platform. What could be the problem? I have seen some of the answers from SO but not able to resolve this issue.