Git Workflow
In this section, we will introduce the Git workflow to you.
The general workflow is as follows:
Clone a Git repository as a working directory.
Add or modify files on the cloned repository.
If others have made changes, you can update the repository.
Review the modifications before committing.
Commit the changes.
If errors are found after modification, you can revert the commit and make further modifications and commit again.
The following diagram illustrates the Git workflow: