1. Create a Github Account, and create an SSH key in Linux: ssh-keygen 2. Add the public key to the Github Account information Account Settings to test whether the verification is successful. Ssh-T git@github.comHi onovps! You 've successfully authenticated, but GitHub does not provide shell access. 3. Create a project on GitHub. 4. Local configuration, create a Git project, and submit it to Github. Git config -- global user. name 'onovps 'git config -- global user. email 'onovps @ onovps.com '# global contact information. Optional. touch README. mdgit init # initialize git add README. md # add file to local repository git commit-m "first commit" # submit and note git remote add onovps git@github.com: onovps/test. git # Add a remote server version library named onovpsgit push-u onovps master # submit the local file to Github. 5. copy the project to your local machine: git clone git: // github.com: onovps/test. git 6. delete the GitHub file: git rm README. md # Delete git commit-m "rm README from the local inverted database. md "# submit to local git push onovps master # submit to Github