Installing & Configuring
Getting Started
Preview
Setup
Install Git
Windows: git-scm.com → download → install\nLinux/macOS: sudo apt install git (or brew install git)\n\n# verify\n$ git --version\ngit version 2.4x.xYour identity
git config --global user.name "Ama Boateng"\ngit config --global user.email "ama@example.com"\n\n# verify\ngit config --global --listCreate a GitHub account
- Sign up at github.com
- Choose a username you can live with
- Add a profile photo and short bio
- Enable two-factor authentication
Authenticate
Modern Git talks to GitHub over HTTPS with a personal access token, or with SSH keys. VS Code walks you through either on first push.
Check your setup
git config --global user.name\n# should print your nameTip: Configure your name/email once globally — every commit you ever make is labelled with them.
This is a free preview lesson
Enroll in the Git & GitHub for Beginners to unlock every lesson, lesson PDF guides, quizzes and your certificate - and start creating your own pieces today.