Authenticating to a Github remote with name and password

I need upload project to friend’s github account. I have login and password. When I try to push project it’s always ask name and password, I try to type login and password or main directory of github (paint out on screen with black) with password, try with empty password, but always take alert that it is incorrect name or password. I try to create repo on github and clone it to my Mac and then copy files to this cloned repo and after commit – push. But again I need type name and password. What is it? Some screens:

repo on github

enter image description here

add repo in xcode

enter image description here

What I need type in this fields?

enter image description here

Try type login and password, title of main directory and password,
git-password, and all this names with empty password field. Always I see:
enter image description here

  • Could not create a bot on Server 4.0.3
  • Why does git add&remove the Storyboard <classes> section repeatedly?
  • Why does xcode Source Control menu show duplicate Working Copies?
  • Synced without committing changes and lost locally saved (Xcode and Github Desktop)
  • Pod file in framework
  • Can't find the .pbxproj file in Xcode
  • Issues with git branch checkout due to untracked working tree files
  • xcode 8 remove unused working copy under source control
  • One Solution collect form web for “Authenticating to a Github remote with name and password”

    You are using the SSH URL, which requires you to (generate and) register a public RSA key with Github before you can authenticate.

    If this is a one-time thing, you can just switch to the HTTPS URL (see the repo’s page on github), which allows you to authenticate with the github username and password combo.


    • For more information about how to generate and use SSH keys, check out Github’s SSH help articles
    • For a detailed comparison of the transport protocols supported by Git and their advantages and disadvantages, with respect to Github, see this comparative article
    Git Baby is a git and github fan, let's start git clone.