1, registered github account (official website; github.com)
2. Create a new project (at the top right click +, select New repository), enter a project name and project description, other optional according to their own projects, created after can view the address of https or ssl
3, git remote address
git remote viewing remote address
git remote -v
git remote add name of the remote URL
4, git remote operation
1) git remote show remote name (you can view project information remotely)
2) git push study master (the local content pushed to the remote repository, the synchronization is maintained after the project modification)
3) git fetch study (to obtain the latest content from the remote address)
5) git pull study (to obtain the latest content from the remote address)
After the execution, click Refresh github, you can see the corresponding file has been uploaded to the remote
Github created a new file, pretending code file has been modified after the others, you can click to create the file, enter the corresponding information, and create files
git fetch the need for branching and merging, git pull is recommended to use the project name master