# blame, show & Tags — Git

Source: https://www.geekswithgeeks.com/en/git/git-blame-show-tags

> Find who wrote a line, inspect one commit, and mark release points.

## git blame

Shows which commit and author last touched every line of a file — great for tracking down the origin of a bug.

```bash
git blame utils.py
```

Output:

```
a1b2c3d (Ada Lovelace 2026-08-12) def calculate_total():
```

## git show

Inspect exactly what one commit changed.

```bash
git show a1b2c3d
```

## Tagging releases

An **annotated tag** marks a specific commit as a release point, with its own message and metadata.

```bash
git tag -a v1.0.0 -m "First stable release"
git push origin v1.0.0
```
