In my case, GitHub was down by the time I was trying to push.
Just check https://www.githubstatus.com to know about GitHub site status.
When it’s up you’ll be able to push.
More Related Contents:
- Is there a way to cache https credentials for pushing commits?
- Git push requires username and password
- Can’t push to GitHub because of large file which I already deleted
- Git Push ERROR: Repository not found
- ! [rejected] master -> master (fetch first)
- Remote origin already exists on ‘git push’ to a new repository
- Github remote push pack size exceeded
- How do I avoid the specification of the username and password at every git push?
- Git push hangs when pushing to Github?
- Push to GitHub error: Couldn’t find host github.com in the .netrc file; using defaults
- Heroku: How to push different local Git branches to Heroku/master
- Issue pushing new code in Github
- Is there a way in git to obtain a push date for a given commit?
- Pushing from local repository to GitHub hosted remote
- git push heroku master says “Everything up-to-date”, but the app is not current
- GitHub – prevent collaborators from using push -f
- How to push different local Git branches to Heroku/master
- Is it possible to create a remote repo on GitHub from the CLI without opening browser?
- git push –force-with-lease vs. –force
- Git push results in “Authentication Failed”
- Github file size limit changed 6/18/13. Can’t push now
- Trying to understand `git diff` and `git mv` rename detection mechanism
- Git push doesnt do anything over HTTPS
- How do you fork your own repository on GitHub?
- Adding a collaborator to my free GitHub account?
- Which is the smarter git protocol, ssh or git(over ssh) or https protocol?
- How to get default Git branch?
- Error when push commits with Github: fatal: could not read Username
- Deleting remote master branch, refused due to being the current branch
- github: server certificate verification failed