Skip to content

Git Onboarding

Git is a version control system. It is used to:

  • Track changes in your code
  • Save different versions of a project
  • Collaborate safely with others

Git works locally on your computer, while GitHub hosts your code online. Now you won’t lose progress!


  • Visit https://git-scm.com
  • Download Git for your operating system
  • Complete the installation
  • Verify by running git --version in the terminal

Alt text

  • Set your name and email so Git can track your commits
  • Run the following commands:
Terminal window
git config --global user.name "Your Name"
git config --global user.email "your-email@example.com"

Alt text

  • git init → enters folder to a repo
  • git status → check file changes
  • git add . → stage changes
  • git commit -m “message” → save a version
  • git log → view commit history

Alt text

  • Stage all files:
Terminal window
git add .
  • Commit your changes:
Terminal window
git commit -m "Initial commit"

Alt text