Week 2 Day 4: GitHub basics and repository management

This commit is contained in:
2026-01-05 12:51:35 +05:30
parent 080b555db1
commit cdb4fc2e93
2 changed files with 65 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
## Introduction to GitHub
GitHub is a cloud-based platform used to host Git repositories and manage version control. It enables developers to collaborate, track changes, and manage code efficiently.
## Key Concepts Learned
### Repository
A repository is a container for a project.
Stores files, folders, and version history.
Can be public or private.
Usually contains a README.md file describing the project.
### README File
Written in Markdown.
Explains project purpose, usage, and structure.
First file users see when opening a repository.
### GitHub Interface Basics
Code tab → View project files
Pull Requests tab → Manage contributions
Branches dropdown → Switch between versions
### GitHub Flow Overview
GitHub Flow is a lightweight workflow used to manage changes:
Create a repository
Create a branch
Make changes and commit
Open a pull request
Merge changes
### Importance of Version Control
Tracks changes over time
Prevents data loss
Enables team collaboration
Maintains clean project history