Travel through your Git history.

git-tm opens any repository in your browser: a commit graph, diffs, blame and insights, and time travel between any two commits, forwards or backwards. One command, zero dependencies.

$npm install -g git-tm

Then run git tm inside any repository and open http://localhost:7890.

Git Time Machine showing a commit graph with branches and merges, and a merge commit's changes

Everything Git knows, in one fast page

Built on the git you already have. Nothing to configure, nothing to upload.

Commit graph

Branch lanes, merges and badges for branches, remotes and tags. Smooth even with tens of thousands of commits.

Time travel

Pick any two points in history and see what changes on the way: forward, back in time, or across branches, one step at a time.

Diffs that read well

Unified or split view, word-level highlights, hide whitespace, full-file context, and diffs against any parent of a merge.

Browse and blame

Walk the file tree as it was at any commit, read any file at any point in time with git blame alongside.

Search

By message, author, path or code with git log -S. Paste a commit id to jump straight to it.

Insights

An activity heatmap for the past year, your project's weekly rhythm, and its top contributors.

Time travel between any two commits

Choose a From and a To: commits, branches, tags or your working tree. git-tm tells you which way you are going and what changes along the way.

Forward in time Back in time Across branches
  • Step through every snapshot on the way with a slider or the arrow keys.
  • See exactly which commits are applied and which are undone.
  • Reverse the trip with one click.

How time travel works →

Comparing two commits: forward in time, 11 commits applied, stepping through 6 snapshots
Time travel mode in History with a From and a To commit selected

Pick commits right from the graph

Press t in History, click where you start and where you want to go, then hit Travel. Or use Travel from here on any commit.

Everything has a keyboard shortcut: j k to move, / to search, ? for the full list.

Small, private and safe

git-tm runs on your machine and only reads your repository.

0runtime dependencies
~50 kBnpm package
127.0.0.1only reachable from your machine
Read-onlynever checks out or rewrites anything