Eclipse can not push to Github

I have installed EGit and create a repo and push it to github using the following steps:

enter image description here

  • Packfile is truncated error while cloning Git repository
  • JUnit and other dependencies not recognized by CI build
  • How do I fix “Cannot pull into a repository with state: MERGING” in EGit?
  • Egit's Team context menu has only one option: Apply patch
  • How can I stop eclipse+git on windows from screwing with file permissions?
  • Maven error “Failure to transfer…”
  • Step2:
    enter image description here

    enter image description here

    enter image description here

    enter image description here

    enter image description here

    I get the following error:

    Can’t connect to any repository: ( error occurred during unpacking on the remote end: index-pack abnormal exit)

    I have also tried to use ssh but it even does not allow me to pass step3. With http I can pass step3.

    Thanks for help.

  • Access AWS CodeCommit from TeamCity
  • Android Studio, how to add my own git repository as a library project(sub module)?
  • Installing Subversion JavaHL library in Mac OS X
  • Hudson error when checking out from Git: “One of setGitDir or setWorkTree must be called”
  • Move branches without pushing them to the git repository?
  • Adding SSH Key to authorized_keys: permission denied(publickey)
  • 3 Solutions collect form web for “Eclipse can not push to Github”

    Found the problems by myself:

    I simply deleted the git repository for my project and then create a fresh new git repository following this guide:

    And then still use the same steps, using https rather than ssl. I successfully committed it to github:

    I do not really know where was the problem. But eventually the above steps work.

    Please use the ssh address of your repository. http is read-only.

    On custom linux repos it could be a permissions error:

    cd <path_to_git_folder.git>
    chmod -R 777 *
    Git Baby is a git and github fan, let's start git clone.