Skip to content
  • Sponsor
  • Notifications You must be signed in to change notification settings
  • Fork 557

ITP - Jan 2025| Hasan Shrestha| GitHomeworkFixErrors | Week1 #587

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 18 additions & 6 deletions homework.md
Original file line number Diff line number Diff line change
@@ -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.