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

  • Alter Git prompt on Windows
  • Git and ssh authorizating
  • Merge two similar Git repositories?
  • Git: how to revert after a merge conflict corruption
  • git-svn creates a lot of branches appended with @rev
  • Copying code between Git branches
  • 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 rebase complication
  • Possible implications of of adding *.sdf files to .gitignore
  • use hooks in git to import and export to cvs
  • New repo with copied history of only currently tracked files
  • Gitflow Release Tagging Model Creates A Dilemma
  • Can Git ignore files that has the same content but updated timestamp
  • 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.