diff --git a/GIT_ASSIGNMENT.md b/GIT_ASSIGNMENT.md index 587996e..70ae27a 100644 --- a/GIT_ASSIGNMENT.md +++ b/GIT_ASSIGNMENT.md @@ -11,7 +11,6 @@ Real-life example where multiple people edit the same file: A school group project where everyone is writing different sections of a report in the same Word/Google Doc file. Each student edits parts of the document, and the changes need to be combined into one final version. Why is version control better than emailing files back and forth? - With email, you end up with many copies of the same file (e.g., report_final.docx, report_final2.docx, report_really_final.docx), which is confusing.It’s easy to lose track of who made which changes.If two people edit the same section, you must manually merge them, which can cause mistakes. Version control (like Git) keeps one central version of the file, records who made each change, and can automatically merge changes. This makes collaboration smoother, avoids confusion, and provides a history to undo mistakes if needed. @@ -82,3 +81,22 @@ Version control (like Git) keeps one central version of the file, records who ma --- +## 7. Creating & Switching Branches + +## Git Branch + +![Git branch](git_branch.png) +![Git new branch](git_new_branch.png) +![Git checkout](git_checkout.png) +![Git branch](git_checkout_switch.png) + +--- + +## 8. Cloning a Remote Repository + +## Git Branch + +![Git clone](git_clone.png) + +--- + diff --git a/git_branch.png b/git_branch.png new file mode 100644 index 0000000..b9c7be8 Binary files /dev/null and b/git_branch.png differ diff --git a/git_checkout.png b/git_checkout.png new file mode 100644 index 0000000..b916eff Binary files /dev/null and b/git_checkout.png differ diff --git a/git_checkout_switch.png b/git_checkout_switch.png new file mode 100644 index 0000000..85f0476 Binary files /dev/null and b/git_checkout_switch.png differ diff --git a/git_clone.png b/git_clone.png new file mode 100644 index 0000000..0f62103 Binary files /dev/null and b/git_clone.png differ diff --git a/git_new_branch.png b/git_new_branch.png new file mode 100644 index 0000000..a2dc342 Binary files /dev/null and b/git_new_branch.png differ