Using git to Synchronize Personal Code Problems on Different Computers

  git, question

I want to use a github account, edit the code on machine a, submit it, and update it on machine b. Or edit on b and update on a.
Do I have to register the private key on machines A and B respectively? Github end unchanged?
Ask for guidance. .

Generate ssh key on machines a and b respectively, and then add the public keys of a and b to github.

Details of the process can be found in github’s help:common SSH Problems