講座Series
Git & Version Control: From Fundamentals to Advanced Workflows
Learn Git from the ground up, understand how version control works, collaborate across different repository hosting platforms, and master advanced workflows, automation, security, and repository management.
15 lessons3 levelsAbout 2 hours of reading
Start with lesson 1Basic
Fundamentals for newcomers: the core ideas of the topic, explained from the ground up.
- Lesson 1: What Is Version Control? Understanding Git and Repository HostingWhat version control does, how Git's distributed design works, and why Git, the tool on your computer, is not the same thing as GitHub, GitLab, or any other hosting platform.8 min read
- Lesson 2: Getting Started with Git: Installation, Setup, and Your First RepositoryInstall Git on Windows, macOS, or Linux, configure your identity and default branch, create your first repository, and look inside the .git folder.7 min read
- Lesson 3: Git Fundamentals: Commits, Staging, History, and .gitignoreThe commands you'll use every day, with real output: status, add, commit, log, and diff, plus writing useful commit messages and keeping files out with .gitignore.7 min read
- Lesson 4: Understanding Git Branches, Merging, and Merge ConflictsWhat a branch really is, how fast-forward and three-way merges work, and how to resolve a merge conflict calmly, with real output from a small example.7 min read
- Lesson 5: Working with Remote Repositories: Clone, Fetch, Pull, Push, and SSHConnect repositories, understand remote-tracking branches, tell fetch from pull, handle rejected pushes, and authenticate safely with SSH keys or tokens on any platform.8 min read
Intermediate
Hands-on practice for people who know the basics and use them in real projects.
