Welcome to our hands-on Git & GitHub session! This workshop will take you from zero to hero in version control.
By the end of this session, you'll be able to:
- Understand what version control is and why it matters
- Set up Git on your machine
- Create and manage repositories
- Make commits like a pro
- Collaborate with others using GitHub
- Handle branches and merge conflicts
- Use essential Git commands in your daily workflow
- A computer (Windows, Mac, or Linux)
- Enthusiasm to learn!
- No prior Git experience required
Windows: Download from git-scm.com
Mac: Run git --version in Terminal (will prompt install if needed)
Linux: Run sudo apt-get install git (Ubuntu/Debian) or sudo yum install git (Fedora)
Sign up at github.com if you haven't already.
git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"- Introduction to Version Control - Why do we need this?
- Git Basics - Your first repository
- GitHub Fundamentals - Taking it online
- Branching & Merging - Working in parallel
- Collaboration - Pull requests and teamwork
# Initialize a new repository
git init
# Clone an existing repository
git clone <url>
# Check status
git status
# Add files to staging
git add <file>
git add .
# Commit changes
git commit -m "Your message"
# Push to remote
git push origin main
# Pull from remote
git pull origin main
# Create a new branch
git branch <branch-name>
# Switch branches
git checkout <branch-name>
# Merge branches
git merge <branch-name>|
Manan Gupta |
Savy |
Raghav |
Remember: Everyone was a beginner once. Don't be afraid to make mistakes—that's what version control is for! 😊