Installing Git — Free Git & GitHub Tutorial
Learn Installing Git in Git & GitHub with a free, beginner-friendly tutorial, examples and practice for Indian students on Syllab.in.
TL;DR: Learn Installing Git in Git & GitHub with a free, beginner-friendly tutorial, examples and practice for Indian students on Syllab.in.
Written & reviewed by the Syllab.in Academic Team (CBSE/NCERT subject experts) · Updated
Installing Git in Git & GitHub
Before using Git, you need to install it and configure your identity. Git will ask "Who made this change?" — you need to tell it your name and email so every commit is credited to you.
Configuration happens in two ways: globally (applies to all projects on your computer) or per-project (only for one folder). We'll use global configuration so we don't have to repeat it every time.
After installation, Priya needs to configure Git so that when she commits code, it says "Priya made this change on 2026-01-15" instead of "Unknown user".
Installing Git — Syntax
git config --global user.name "Your Name" git config --global user.email "your@email.com"
Learn Installing Git step by step with Syllab's free interactive Git & GitHub tutorial — runnable code examples, practice exercises and instant AI feedback, all free with no signup. Explore the full Git & GitHub course →