Skip to main content

Settings

Color Mode

Theme Skin

Background

Appearance preferences are saved in this browser only.

Environment

Current Environment Production

Built with JEKYLL_ENV=production. Changes require deployment.

Quick Links

Theme & Build

Jekyll v3.10.0
Last BuildNov 24, 17:25

Page Location

Page Info

Layout default
Collection wargames
Path _wargames/bandit/bandit30.md
URL /wargames/bandit/bandit30/
Date 2026-04-07

Bandit Level 30

Bandit Level 30 — discover that the interesting commit lives on a branch other than the one you cloned.

Source: This content is aggregated from overthewire (MIT). Visit the original repository for the latest version.

Level Goal

There is a git repository at ssh://bandit29-git@bandit.labs.overthewire.org/home/bandit29-git/repo via the port 2220. The password for the user bandit29-git is the same as for the user bandit29.

From your local machine (not the OverTheWire machine!), clone the repository and find the password for the next level. This needs git installed locally on your machine.

Commands you may need to solve this level

git

Helpful Reading Material

Study guide

Level map: using the password for bandit29, find the password for bandit30.

What this level teaches

Git branches, and how to see work that is not on the default branch.

Key ideas

  • Branches are named, movable pointers to lines of development. A clone checks out only the default branch at first.
  • Remote branches. git branch -a lists local and remote branches; git checkout switches to one.
  • Log per branch. git log shows only the history reachable from the branch you are on.

How to approach it

  1. After cloning, read the files and log, then ask what else could exist.
  2. List all branches, including remote ones, and look through each.
  3. Read files in any branch that looks like a work in progress.

Why it matters

Development, feature and release branches often hold unreleased code or leftover secrets, and reviewers must check them all.