Skip to content
/ introduction-to-git Public template

Use Git version control to work on a game using command line (CLI) and VS Code

License

Notifications You must be signed in to change notification settings

skills/introduction-to-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Introduction to Git

Use Git version control to work on a game using command line (CLI) and VS Code.

Welcome

  • Who is this for: Beginner developers who want to learn Git version control

  • What you'll learn: Fundamental Git concepts including commits, branches, history, and collaboration basics

  • What you'll build: You'll create a Git repository, add a sample code, then develop some simple features.

  • Prerequisites:

    • No prior Git or version control experience required.
    • Recommended: Basic familiarity with Command Line Interfaces (CLI)
    • Recommended: Basic familiarity with Visual Studio Code.
  • How long: This exercise takes less than 60 minutes to complete.

In this exercise, you will:

  1. Understand what version control is and why developers use it.
  2. Configure your Git identity.
  3. Create your first repository and make commits.
  4. View project history and compare file changes.
  5. Work with branches to experiment safely.
  6. Learn about Git collaboration concepts.

How to start this exercise

Simply copy the exercise to your account, then give your favorite Octocat (Mona) about 20 seconds to prepare the first lesson, then refresh the page.

Having trouble? 🤷

When copying the exercise, we recommend the following settings:

  • For owner, choose your personal account or an organization to host the repository.

  • We recommend creating a public repository, since private repositories will use Actions minutes.

If the exercise isn't ready in 20 seconds, please check the Actions tab.

  • Check to see if a job is running. Sometimes it simply takes a bit longer.

  • If the page shows a failed job, please submit an issue. Nice, you found a bug! 🐛


© 2025 GitHub • Code of ConductMIT License

About

Use Git version control to work on a game using command line (CLI) and VS Code

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks