1/22
Sign inSign up free

63. Your First Repository and Commit

easy 10 XP ~5 minHands-on lab

The project in /home/student/repos/webapp has never been under version control. It also contains a file with real credentials, secrets.env, which must never end up in Git history.

Task

  1. Turn /home/student/repos/webapp into a Git repository.
  2. Configure the commit identity for this repository only (not globally):
    • name: lina
    • email: lina@example.com
  3. Create one commit with the message Initial commit that contains README.md and app.py.
  4. secrets.env must not be committed.

About this machine

Ubuntu 24.04 with no internet access. You are student with passwordless sudo. The grader checks the final state of the machine, not the commands you typed. Values like names and ports are generated for you.

Teaching or writing about this? Embed this lab on your page

TerminalNot started

Your machine is ready to start

A fresh, isolated Ubuntu machine boots in a few seconds with the task already set up.

No account needed: 3 of 3 free tries left. Guest machines last 30 minutes.