Version Control
Learn to track changes, collaborate with others, and safely experiment with your code using Git and version control systems.
12 lessons
Getting Started With Git
Install Git and configure your identity to start tracking code changes like a professional developer.
Initializing a Repository
Turn any folder into a Git repository and start tracking your project's history.
Checking Status
Use git status to see what's changed, what's staged, and what Git is tracking in your project.
Staging Changes
Select exactly which changes to include in your next commit using Git's staging area.
Making a Commit
Save a snapshot of your staged changes with a descriptive message that explains what you did.
Viewing Commit History
Explore your project's timeline with git log to see every commit, who made it, and when.
What Is .gitignore?
Tell Git which files to ignore so you don't accidentally commit secrets, dependencies, or generated files.
What Is a Branch?
Work on new features or experiments without affecting your main code using Git branches.
Merging Basics
Combine work from different branches by merging changes back into your main codebase.
Resolving Merge Conflicts
Learn to handle merge conflicts when Git can't automatically combine changes from different branches.
Uploading to GitHub
Connect your local Git repository to GitHub and push your commits to the cloud for backup and collaboration.
AI Explaining Git Errors
Learn how to use AI assistants to decode cryptic Git error messages and find solutions quickly.
Join the conversation
Share your wins, ask questions, and help other builders in the Codistry Academy community.