I am getting quite desperate. I am a beginner in GIT. I am trying to create a new repository by the GitHub guideline:
echo "<MY_TAG>" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin <MY_SSH>
git push -u origin main
For some reason, after writing "git push -u origin main", nothing happens. After some time, it stops and shows an error:
ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I have no idea why. I did the same thing just a few hours ago without any problem.