Github Authentication Failed – … GitHub does not provide shell access

$ git remote add origin
fatal: remote origin already exists.

$ git push -u origin master
fatal: 'EvolutionApp' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

My keys were added succesfully

 $ ssh -T
 Hi lut! You've successfully authenticated, but GitHub does not provide shell access.

The Github article says that “Shell access” should not be an issue? What could the problem be?

  • “cannot pull into a repository with state: merging_resolved”
  • Can I 'git cherry-pick <sha>' and have 'git log' recognize it?
  • Structured releases (Git flow) for multiple projects in a single repository (monorepo)
  • git-difftool: full file tree compare using meld?
  • Persuading git to handle symlinks correctly on vboxsf filesystem
  • Not able to get the Source Code from GIT repository
  • git clean isn't cleaning hidden files
  • Difference between… and…?
  • iOS Cocoapod with git large file storage
  • WARNING: this script is deprecated, please see git-completion.zsh
  • How can I enable anonymous read access (pull) but authenticated write access (push) to a git repository over http?
  • Cannot push git to remote repository: (SSH error)
  • 3 Solutions collect form web for “Github Authentication Failed – … GitHub does not provide shell access”

    Try and redefine the ssh url for remote origin:

    git remote set-url origin

    And try again

    You might have to add the remote again. That error message happens when Git doesn’t know where to push to.

    Use git remote -v check if the remote exists, if not, add it.

    Even then if it doesn’t work try removing the GIT_SSH environment variable, this maybe causing the problem.

    This can happen if you have an incomplete remote entry in your global config.

    Run git config -e --system, comment out any [remote entries, re-add the remote, and try again.

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