There is a git repository at ssh://bandit30-git@localhost/home/bandit30-git/repo. The password for the next level is in there, but it isn’t in the files, the history, or the branches.
If a secret isn’t in a branch or the standard log, it might be attached to a Tag. In Git, tags are used to mark specific points in history as being important (like a version release: v1.0, v2.0).
2. **Search everything**:
I checked `git branch -a` and `git log`, but they looked empty or unhelpful.
3. **Check for tags**:
I used the `tag` command to see if any labels had been created:
```bash
$ git tag
The output showed a tag named secret.
git show to see what that specific tag contained:
```bash
$ git show secret```
The git show command revealed the content associated with that tag, which was the password for the next level.
[SPOILER]
git show works on almost any Git object—commits, branches, and tags alike.