# Get the Exercise Code with Git

Copy an exercise's repository from GitHub into your course folder with git clone, open the folder it makes in VS Code, and see with git status and git remote -v that your copy remembers where it came from.

![Cheat sheet: Get the Exercise Code with Git](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/8acb4778989b424a96e153c863b34164.webp)

- Category: Git
- Level: Novice
- Tags: git, git clone, Origin, Remote repository, Repository
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/git-clone-exercise-code-cheat-sheet
