Menu
Coddy logo textTech

What Is Git

Part of the Version Control section of Coddy's Terminal journey — lesson 2 of 58.

Git is a free, open-source version control tool. You install it once, then run git commands inside any folder you want to track.

A folder being tracked by Git is called a repository (or repo for short). Inside that folder, Git records snapshots of your files every time you save a checkpoint.

You always interact with Git through the terminal:

git --version

This prints the installed Git version and confirms Git is available on your system. If it returns an error, Git is not installed.

Every command you will learn in this section starts with the word git, followed by a subcommand like init, status, or commit.

challenge icon

Challenge

Beginner

Run git --version in the terminal to confirm Git is installed.

Cheat sheet

Git is a version control tool that tracks snapshots of files in a repository (a tracked folder).

All Git commands start with git followed by a subcommand (e.g., init, status, commit).

Confirm Git is installed:

git --version

Try it yourself

Terminal
quiz iconTest yourself

This lesson includes a short quiz. Start the lesson to answer it and track your progress.

All lessons in Version Control