Lifecycle of the Status
1. The lifecycle of the status of your file
2. git status
3. git add
4. git reset
or git restore
to unstage file
5. .gitignore
file
6. git commit
git commit --amend