Session 0 — Exercises: First Repository and GitHub Tour

Last updated on 2026-03-04 | Edit this page

Overview


In this session you will create your first repository on GitHub, write a short README, and explore the GitHub interface.

Time frame: approximately 60 minutes of hands-on work.


Task 1: Create Your First Repository


Step 1 — Create a new repository on GitHub

  1. Go to github.com and sign in.
  2. Click the + button in the top-right corner and select New repository.
  3. Name your repository git-intro-<yourname> (replace <yourname> with your actual name or username).
  4. Check Add a README file.
  5. Click Create repository.
Callout

Checkpoint 1

You should now see your new repository page with a README.md file displayed.

Step 2 — Alter content of your README

  1. Click the pencil icon (✏️) on the README.md file to edit it.

  2. Add a heading with your name and 2–3 bullet points about yourself, for example:

    MARKDOWN

    # About Me
    
    - I study biology at the University of Tübingen.
    - I like hiking and cooking.
    - I want to learn git for my thesis project.
  3. Scroll down, write a short commit message (e.g. “Add personal info to README”), and click Commit changes.

Callout

Checkpoint 2

Your README now shows your name and personal information. You should see 2 commits in the repository history.

Level 3 — Explore Markdown formatting

Enhance your README with additional Markdown features:

  • Add a link to this course material.
  • Add a numbered list of your top 3 goals for this workshop.
  • Try using bold and italic text.

MARKDOWN

# Heading 1
## Heading 2

- Bullet point
1. Numbered item

**bold text**
*italic text*

[Link text](https://example.com)

![Image alt text](https://example.com/image.png)

Task 2: Explore the GitHub Interface


Level 1 — Navigate the repository page

Explore the following areas of your repository and note what you find:

  1. Code tab — Where are your files listed?
  2. Commits — Click on the commit count to see your commit history.
  3. Settings — Find where you can change the repository name or visibility.
Callout

Checkpoint 3

You can navigate to the commit history and identify who made each commit and when.

Level 2 — Discover more GitHub features

Explore these additional features:

  1. Issues tab — Open a new issue titled “Test issue” with a short description. Close it afterwards.
  2. Pull requests tab — Note that it is empty for now (we will use it later).
  3. Settings — Find where you would add a collaborator.

Level 3 — Repository settings deep dive

  1. Disable “Wiki” and “Projects” features in the Features section of the General Settings.
  2. Find the Danger Zone in Settings. What options are available there?
  3. Look at Settings → Pages — we will use this in a later session.

Summary


By the end of this session you should have: