Add & Commit Changes
Add Changes
Objective
Select modified files and place them into the staging area before committing.
Steps
- Modify one or more files in the project.
- In the terminal, check the status of the repository:
git status

- Add files to the staging area:
git add .

- Verify that files are staged:
git status

Commit Changes
Objective
Save local changes to the local Git repository.
Steps
- Ensure files are staged.
- Enter the commit command with a message:
git commit -m "Your commit message"

- Verify the commit:
git log --oneline
