Technical requirements
For this chapter, you need to have Git installed on your local computer. Git works on Linux, macOS, and Windows, as well as many Unix variants. There are easy-to-follow instructions for installing Git on any of these operating systems at https://git-scm.com/downloads. If you’re asked to set configuration options during installation, it’s safe to accept all the default values.
To type the Git commands that you’ll see in this chapter, use your favorite terminal application on Linux or macOS. If you’re a Windows user, you can type them in Command Shell, PowerShell, or Git Bash. The default configuration options while installing Git on Windows should make Git available on any of these types of Windows terminals, and they should all produce identical results when you run Git commands in them.
The Git examples you’ll see in this book are operating system-agnostic: Git works the same no matter where you run it.
To see if it...