Practical uses
- Track and review changes safely
- Collaborate through branches and pull requests
- Investigate regressions and restore history
- Automate releases and deployment workflows
A version control tool that records the history of your project.
Git keeps every saved version of your project, lets you try changes on separate branches, and lets several people work on the same code. Linus Torvalds created it in 2005 for Linux kernel development, and today most software teams use it.
Git is a command-line tool. After installing it, set your name and email; Git records them on every commit you make.
winget install Git.Git
# Or download from https://git-scm.com
# Then, in a new terminal:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
git --versionLearn the basics first, then pick up these tools when a project needs them.