1. Initialize git
Execute in the project directory: git init
Check status: git status
2. Submit the code
Add to buffer: git add .
Commit buffer: git commit -m "description"
View log: git log
3. Switch branches
The default branch is the master branch
View all branches: git branch
Create a new branch and switch: git checkout -b develop where develop is the new branch name, custom