## Git Assignment ## 1. What is Git and Version Control 1. Git helps multiple people work on the same files without losing each other's changes or creating a mess. 2. Four students writing a group essay where each person writes different sections, but sometimes they need to edit the same paragraphs. 3. Email creates confusion with multiple file versions and lost work, while Git tracks every change and lets everyone work together safely. ## 2. Installing Git & Configuring User Info ## ![alt text](image.png) 3. Initializing a Repository ![alt text](image-1.png) --- 4. Working Directory, Staging, and Commits ![alt text](image-2.png) --- ![alt text](image-3.png) --- ![alt text](image-4.png) -- 5. Adding & Committing Files ## ![alt text](image-5.png) ![alt text](image-7.png) ## Git Log (oneline) ## ![alt text](image-6.png) 6. Viewing Commit Logs & Diffs ## Git Log (graph) ## ![alt text](image-8.png) ## Git Diff ## ![alt text](image-9.png)