What is the purpose of the github key, and why can I submit code without a key to create a repository?

I created a repository on github, didn"t set up anything called keys, and then git push the code into the repository I just created. But every time I open a git window, I don"t have to log in to my github account with git push code.

Why does the Internet say that the absence of a github key results in entering a github account every time the code is submitted?

Mar.10,2021

learn about the RSA public key and private key first. There are two ways to submit github:

  1. https submission, account password is required;
  2. ssh submission, RSA verification, no need to enter account password.

if you do not need verification, then RSA, must be set either in the warehouse or in the account.

Menu