0Pricing
DevOps Bootcamp · Lesson

Installing Git & Configuration

Get Git installed on your system and configure essential settings like your username and email for commit identification.

Installing Git & Configuration is a free DevOps Bootcamp lesson on CoddyKit — lesson 2 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the DevOps Bootcamp learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.

Get Ready to Git!

Before any version control, you need Git installed locally. This lesson covers installing it on each OS and setting your basic identity.

Installing Git on Windows

On Windows, grab the official installer from git-scm.com and accept the defaults. It also ships Git Bash, a Unix-like shell that is great for Git commands.

Installing Git on macOS

On macOS, run git --version to trigger the Xcode Command Line Tools, or use Homebrew with brew install git — the cleaner, preferred route.

Installing Git on Linux

On Linux, use your package manager: apt install git on Debian/Ubuntu, dnf install git on Fedora, or yum install git on CentOS/RHEL.

Check Git Version

Whatever your OS, confirm Git installed correctly. This command prints the installed version.

git --version

Who Made That Change?

Every commit records who made it. So before committing, you tell Git your name and email — that identity gets stamped on all your work.

Set Your Git Name

Set your global username with git config. The --global flag applies it to every repo on this machine. Swap in your real name.

git config --global user.name "Your Name"

Set Your Git Email

Now set your email the same way — ideally the one tied to your GitHub account so commits link back to you.

git config --global user.email "your.email@example.com"

Check Your Git Settings

Want to double-check your setup? This lists every global config value — your name, email, and anything else you have set.

git config --global --list

Quick Check: Git Identity

You've learned how to set your identity in Git. Which command correctly sets your email address globally?

Recap: Git is Ready!

Done! Git is installed across Windows, macOS, and Linux, verified, and stamped with your name and email. Next: creating your first repository.

Frequently asked questions

Is the “Installing Git & Configuration” lesson free?

Yes — the full text of “Installing Git & Configuration” is free to read here on the web, and the DevOps Bootcamp course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the DevOps Bootcamp course, upgrade to CoddyKit PRO.

What will I learn in “Installing Git & Configuration”?

Get Git installed on your system and configure essential settings like your username and email for commit identification. You practise DevOps Bootcamp with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.

Do I need any experience to start DevOps Bootcamp?

No prior experience is required. DevOps Bootcamp on CoddyKit is structured for beginners through advanced learners; this is — lesson 2 of 4, so you can start here or from the beginning and move at your own pace.

How long does the “Installing Git & Configuration” lesson take?

Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.

Can I write and run code in this DevOps Bootcamp lesson?

Yes. Every DevOps Bootcamp lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.

All lessons in this course

  1. Introduction to Version Control
  2. Installing Git & Configuration
  3. Creating Your First Repository
  4. Understanding the .gitignore File
← Back to DevOps Bootcamp