Version control records every change you make to a project, so you can undo mistakes, try ideas on a branch, and work with other people without overwriting their files. For game development that matters even more, because a project is a mix of code, scenes, and large art and audio assets.
You'll start with how Git works (repositories, commits, branches, and merges), then learn the everyday workflow with GitHub: pushing, pulling, and pull requests. Along the way you'll see why a shared repository is how teams back up and review their work.
With your code tracked and backed up, you'll be ready for Pick a Game Engine, where you install an engine and build your first scene.
Fireship's quick tour of Git: creating a repository, staging and committing snapshots, branching, merging, and handling merge conflicts.
A one hour course on how Git tracks your work, core commands, branches and merge conflicts, syncing with GitHub, and how pull requests work.