GIT-HISTORY(1)
NAME
git-history — Quickly browse the history of a file from any git repository
SYNOPSIS
INFO
13.7k stars
546 forks
0 views
JavaScriptGit & Version Control
DESCRIPTION
Quickly browse the history of a file from any git repository
README
Git History
Quickly browse the history of files in any git repo:
- Go to a file in GitHub (or GitLab, or Bitbucket)
- Replace
github.comwithgithub.githistory.xyz - There's no step three
If you like this project consider backing my open source work on Patreon!
And follow @pomber on twitter for updates.
Extensions
Browsers
You can also add an Open in Git History button to GitHub, GitLab and Bitbucket with the Chrome and Firefox extensions.
Or you can use a bookmarklet.
javascript: (function() {
var url = window.location.href;
var regEx = /^(https?\:\/\/)(www\.)?(github|gitlab|bitbucket)\.(com|org)\/(.*)$/i;
if (regEx.test(url)) {
url = url.replace(regEx, "$1$3.githistory.xyz/$5");
window.open(url, "_blank");
} else {
alert("Not a Git File URL");
}
})();
Local Repos
You can use Git History for local git repos with the CLI or with the VS Code extension.
Support Git History
Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]
Backers
Thank you to all our backers! 🙏 [Become a backer]
Thanks
Credits
Based on these amazing projects:
- Prism by Lea Verou
- jsdiff by Kevin Decker
- Night Owl by Sarah Drasner
License
MIT
SEE ALSO
lazygit(1)— Simple terminal UI for git commands — never memorize commands againgh(1)— GitHub's official command-line tool for pull requests, issues, and moredelta(1)— A syntax-highlighting pager for git, diff, and grep outputaicommit2(1)— A Reactive CLI that generates commit messages for Git and Jujutsu with Ollama, ChatGPT, Gemini, Claude, Mistral and…gh-eco(1)— 🦎 gh cli extension to explore the ecosystem
clihub3/4/2026GIT-HISTORY(1)
