Unable to connect to github.com on push and pull

Why does this error happen when I try to push to github?
I have checked with ping and tracert and the Github connection is well
but when I want to push something to Github this error is displayed.
Please tell me what I should do to solve this error.

I am using Windows 7 and HTTPS with Github:

  • How to use terminal commands with Github?
  • Migrating from TFS to GIT, Shared projects to nuget
  • How to list all distinct extensions of tracked files in a git repository?
  • Show git branch and status in Mac Bash
  • Remove 4 commits from my git history
  • How to import svn branches and tags into git-svn?
  • $ git push origin master fatal: unable to connect to github.com: github.com[0: 192.30.252.131]: errno=No error
    

    Thanks

  • What's the magic in “Github for Windows” that make it work in emacs?
  • git free disk space by clearing repository history
  • Show non-merge differences for two commits in git
  • List ALL the files that ever existed in ANY branch in a git repository
  • work flow for using git 2.5 for multiple work directories using 'git worktree'
  • Gitlab's API (GET /projects/:id/repository/tree) throws 404 page not found
  • One Solution collect form web for “Unable to connect to github.com on push and pull”

    Normally you get that error if you use https:// instead of git:// for your repository.

    "https://". insteadOf git://
    git config --global url. 
    

    Or change that URL in your .git/config file.

    Git Baby is a git and github fan, let's start git clone.