Files
Harshit-Sachdev/Week-2/Day-4/github-basics.md

33 lines
1013 B
Markdown

## 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