Back to lessons
Initializing a Repository
Learn how to create a new Git repository and understand the basics of version control.
Step 1 of 520%
Git is a distributed version control system that tracks changes in your code. Every Git project starts with a repository - a folder that Git watches for changes.
Understanding the distributed nature of Git is key to using it effectively. Unlike centralized systems where everyone connects to a single server, every Git user has a full copy of the entire repository on their machine. This means you can work offline, commit locally, and only sync when you're ready — giving you incredible flexibility and safety.
1 / 5