Course Git & GitHub for Beginners

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.x

Your identity

git config --global user.name "Ama Boateng"\ngit config --global user.email "ama@example.com"\n\n# verify\ngit config --global --list

Create 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 name
Tip: 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.


Discussion

Free preview lesson