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

  • Is there a script to list git branches created by me?
  • How does commit signing work?
  • How to organize GAE Modules app structure and code?
  • Does git pull always create a merge commit?
  • Phabricator first time 'arc land' fails
  • Why does Git require me to pull before I push?
  • 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

  • Git amend/reword (without adding/changing files)
  • Git CRLF changes showing up in git status
  • How to rename large number of files
  • Recover staged but not committed files after 'git rm -rf'
  • Change github diff to be side by side comparison?
  • Versioning machine specific configs
  • 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.

    Edit:

    • 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.