Git Truck is a local, interactive visualization workspace for Git repositories, built for inspecting a codebase through structure, commit activity, authorship, and history.
Git Truck can assist you in quickly answering questions like:
| How is the repository structured? | Where has the project been active recently? |
|---|---|
![]() |
![]() |
| Who has changed the most lines per file? | Where and when have specific contributors worked? |
![]() |
![]() |
npm install -g git-truck@latest
Open a repository:
cd path/to/repository
git truck
Or pass a path directly:
git truck path/to/repository
git truck path/to/folder-with-repositories
When the path contains multiple repositories, Git Truck opens a repository browser. Otherwise, it opens the visualization in your default browser.
Run git truck --help for advanced options.