This repository documents my learning journey of Git and GitHub.
It includes structured notes, practical Git commands, and screenshots to demonstrate usage.
- Git Topics Covered
- GitHub Basics
- Repository Structure
- Screenshots
- Best Practices
- Motivation
- References
This repository was created to:
- Learn Git fundamentals (local version control)
- Understand GitHub (remote repositories)
- Practice proper documentation using README files
- Follow professional Git workflow practices
| Command | Purpose | Screenshot Links |
|---|---|---|
git init |
Initialize a repository | Git Init Screenshot |
git status |
Check repository status | Git Status Screenshot |
git add |
Stage changes | Git Add Screenshot |
git commit |
Save changes | Git Commit Screenshot |
git push |
Push to remote repository | Git Push Screenshot |
git clone |
Clone a repository | Git Clone Screenshot |
git pull |
Fetch and merge changes from remote repository | Git Pull Screenshot |
This repository demonstrates GitHub concepts such as:
- Creating a new repository
- Viewing commit history
- Viewing individual commits
- Copying clone URLs
- Navigating the GitHub interface
learn-Git-and-GitHub/
βββ README.md
βββ notes/
β βββ README.md
β βββ learn-Git.md
β βββ learn-GitHub.md
βββ screenshots/
βββ Git/
βββ GitHub/ Cropped screenshots are added to clearly show:
- Always use clear and self-descriptive commit messages
- Commit small, atomic changes instead of pushing everything at once
βConsistency and practice turn learning into mastery.β
- Git Documentation: https://git-scm.com/docs
- GitHub Docs: https://docs.github.com