A terrible crime has been committed at TechCorp! The revolutionary algorithm that could change the future of computing has been STOLEN! Professor Git needs your help to solve this mystery using the power of Git.
Use Git commands to:
- Investigate the crime scene (the repository history)
- Examine the evidence (files in
case-files/
) - Interview witnesses (check their statements)
- Find contradictions and lies
- Identify the thief!
-
Read the emergency notice:
cat EMERGENCY.txt
-
Check the crime scene:
git log --oneline
-
Look for clues:
git log --stat
-
Examine evidence:
ls case-files/evidence/
-
Read witness statements:
cat case-files/evidence/witness_statements.md
git-mystery/
├── EMERGENCY.txt # The crime report
├── HINTS.md # Investigation hints
├── case-files/ # Evidence and suspect information
│ ├── evidence/ # Witness statements, security logs, emails
│ └── suspects/ # Suspect profiles
├── investigation-notes/ # YOUR investigation notes go here
└── src/ # The crime scene (source code)
git log --stat --oneline
- See what files changed in each commitgit show <commit-hash>
- Examine a specific commit in detailgit log --since="2:00 PM" --until="4:00 PM"
- Check specific time periodsgit log --author="Name"
- See commits by specific person
- Witness Statements - Do their alibis check out?
- Security Footage - Who was where and when?
- Emails - Any suspicious communications?
- Git History - The commits never lie!
Create files in investigation-notes/
as you discover clues:
echo "Found something suspicious in commit abc123" >> investigation-notes/clues.md
git add investigation-notes/clues.md
git commit -m "Document suspicious commit finding"
When you think you've solved the case, create investigation-notes/accusation.md
with:
- WHO did it (name of the perpetrator)
- WHEN they did it (time from the commit)
- HOW they did it (what Git command/action)
- WHY they did it (motive from evidence)
- EVIDENCE (list your proof)
- Check
HINTS.md
for investigation tips - Look for contradictions between evidence files
- Remember: The commit message might be lying!
- The truth is always in
git log --stat
You've solved the mystery when you can:
- Identify who deleted algorithm.py
- Prove when they did it
- Show evidence of their motive
- Explain why their alibi is false
One of the five suspects is lying. Their commit message says one thing, but they did something entirely different. Trust the Git history, not what people say!
Good luck, Detective! The future of TechCorp depends on you!
Start with: cat EMERGENCY.txt
and then git log --stat --oneline