A QuickLook plugin that lets you preview .git folders with a single press of the spacebar.
Press spacebar on any .git folder in Windows Explorer to see:
- Current branch (or detached HEAD state)
- Tracking remote branch (e.g.,
origin/master) - Remote URL (e.g.,
https://github.com/...) - HEAD commit hash
- Branch count (local + remote)
- Last commit message
- Recent activity (last 5 reflog entries)
All values are copyable — just click and select.
- English (default)
- Chinese (zh-CN) — automatically applied when system language is Chinese
- Go to Releases
- Download the
.qlpluginfile - Double-click the file — QuickLook will install it automatically
Select the .qlplugin file in Explorer and press spacebar — QuickLook will install it directly.
- Download the
.qlpluginfile from Releases - Rename
.qlpluginto.zip - Extract to
%LocalAppData%\QuickLook\QuickLook.Plugin - Restart QuickLook
git clone --recurse-submodules https://github.com/Chendaqian/QuickLook.Plugin.GitFolderViewer.git
cd QuickLook.Plugin.GitFolderViewer
dotnet build src/QuickLook.Plugin.GitFolderViewer.csproj -c Release -p:LangVersion=previewOutput: build/Release/QuickLook.Plugin.GitFolderViewer.dll
Copy the DLL and Translations.config to the QuickLook plugin directory.
This plugin reads git data directly from .git folder files — no git.exe required:
| File | Data |
|---|---|
HEAD |
Current branch or detached commit |
config |
Remote URLs, tracking branch config |
refs/heads/ |
Branch count, HEAD commit hash |
refs/remotes/ |
Remote branch count |
COMMIT_EDITMSG |
Last commit message |
logs/HEAD |
Recent reflog activity |
packed-refs |
Fallback for packed refs |
- QuickLook 3.7+
- .NET Framework 4.6.2