Start free

Browse › GitHub

Set Up Git and Connect to GitHub [Prerequisite Lab]

Prerequisite

Part of GitHub Topic: Programming

Access

StationX Infrastructure Labs — 3 attempts per lab

🔒 Add StationX Infrastructure Labs — $149 / year · 3 attempts per lab

Already have access? Sign in.

New to this? Try a free practice lab — a scripted hacking challenge in your browser, no account needed.

What you'll do

This is a prerequisite for all related labs in this series and only to be completed once.

  1. Use the credentials you create in this lab for all Challenges Labs within this series
  2. In this lab, you will install Git, configure your identity, initialize a repository, and push it to GitHub
  3. Install Git and configure your username/email
  4. Initialize a new local repository
  5. Create a remote GitHub repository and push your local repository to it
  6. Explore git status, git log, git push, and git pull

Note: Once you begin the lab, you will not be able to pause, save, or return to your lab. Please ensure that you have set aside enough time to complete the lab before you start.

  • ⏱ About 45 minutes
  • Counts towards: GitHub Foundations