- Download Git from git-scm.com and install it (Windows includes "Git Bash").
- Set your identity. It is attached to every commit you make.
- Optionally set the default branch name and your editor.
--global applies the setting to every repository on your computer.