Making changes
As mentioned in the git workflow section, the working tree is where you make changes. You can edit files, add new files, and remove unnecessary files there.
Changes made in the working tree are noted as modified in the index, which sits between the repository and the working tree, but are not saved directly to the repository. All changes are first staged in the index and only then saved in the repo.
Only the changes in the index are committed to the repo.