Menu
CoddyTech

Recap - First Repo

Part of the Version Control section of Coddy's Terminal journey. Lesson 8 of 58.

challenge icon

Challenge

Easy

Put it all together. Starting from an empty folder:

  1. Initialize a new Git repository with main as the default branch, quietly: git init -q -b main (-q hides the welcome message, -b main names the first branch).
  2. Set the Git user name for this repository only to Recap Learner and the email to recap@coddy.tech, using git config without --global.
  3. Create a file called notes.md containing the text first repo.
  4. Print the output of git status --short.

The expected output is the single line ?? notes.md.

Try it yourself

Terminal

All lessons in Version Control

Practice on your own: Terminal playground