The Git workflow follows three stages: Working Directory (your changes) → Staging Area (selected changes) → Repository (committed snapshot). git add selects which changes to include in the next commit. git add . stages ALL changed files. git add filename stages a specific file. git commit creates a permanent snapshot of the staged changes with a descriptive message. Commit messages should be clear and explain WHY the change was made, not just WHAT changed. git push uploads your local commits to the remote GitHub repository. The first push to a new branch requires the -u flag (upstream tracking). After that, just git push is enough. Commit Message Best Practices: Use the conventional format: type: description. Types: feat (new feature), fix (bug fix), docs (documentation), style…