diff --git a/homework.md b/homework.md index f7a8449a..3cb50923 100644 --- a/homework.md +++ b/homework.md @@ -2,24 +2,36 @@ ## 1. What is 2 + 2? -5 +4 ## 2. What is JavaScript? -An exciting new play about coffee. +JavaScript is a programming language that allows developers to add interactive features to web pages ## 3. What three problems does Git & GitHub solve? -When people want to show off code to each other they can put it on GitHub +hree Problems Git & GitHub Solve +Version Control + +Problem: Difficulty tracking changes or reverting to previous versions. +Solution: Git tracks changes, allowing you to revert, compare, and maintain a history of edits. +Collaboration + +Problem: Overwriting others’ work when working on the same files. +Solution: GitHub enables branches, pull requests, and conflict resolution for team collaboration. +Backup and Remote Access + +Problem: Risk of losing work due to local failures or need for shared access. +Solution: GitHub stores backups in the cloud, making the project accessible from anywhere. ## 4. What happens when you `fork` a repository? -You delete it +When you fork a repository, it creates a copy of the original repository in your GitHub account. This allows you to work on the project independently without affecting the original, while still staying linked for updates or contributions via pull requests. ## 5. What happens when you clone a repository? -It send it to a friend +Cloning creates a local copy of the repository on your computer, allowing you to work on it offline and sync changes with the remote repository. ## 6. What is a Pull Request? -When you send a file over the internet +A Pull Request is a request to merge your changes into another branch of a repository, allowing others to review and approve the changes. \ No newline at end of file