GitLens is becoming my favorite Git GUI client, probably the only major feature that I still go to other clients is a visual log of the repository, incl. a graph of all branches.
GitKraken has a great branch visualization, IMO (image from their docs):

For VSCode, Git History extension but I generally prefer your approach of either using the quick pick UI or the sidebar. Having a tree graph in the sidebar would be greatly useful.
For reference, this Stack Overflow question lists a lot of graphical examples, incl. CLI (git log --graph).
Unfortunately vscode won't allow anything but a tree in the sidebar currently, so any implementation would need to be in a editor tab (like Git History). While I would love to see this feature land, I don't envision getting to something like this anytime soon, but I would LOVE a PR 😉
@borekb The screen capture you show is what I've been searching for in a VS Code extension for a while.
Could this just be a live preview for now? This would work, allow the useful graph to be rendered, and when the support is added to VSCode (see here: https://github.com/Microsoft/vscode/issues/68266), could most likely easily be moved from a preview to the sidebar. Thoughts?
https://marketplace.visualstudio.com/items?itemName=hdg.live-html-previewer
Also, I currently have zero time, but when my time does free up I would love to help with this feature. I will watch it closely to monitor progress and status, and input where I can be helpful
It looks as if a graphical sidebar is possible ?
Git Graph is another example of graphical visualization of branches and history (IMHO even better than Git History).
From what I see, it's a pretty new project, but I fin this extension easier and faster than other solutions.
Git Graph is another example of graphical visualization of branches and history (IMHO even better than Git History).
From what I see, it's a pretty new project, but I fin this extension easier and faster than other solutions.
Thanx for the tip! Looks very good
Would be perfect if we could just merge git graph and git lens.
Is anyone working on something like this? I'd like to help contribute to creating a feature like this
@zaboyle I'm not aware of anyone working on this. I'm working on a feature somewhat related (but different) -- a new Timeline view. You can see the code in the feature/timeline branch
@yunti if git graph or another extension does this well (I'm assuming) -- without GitLens duplicating that functionality is there a set of things to make the integration between the 2 better?
After a few months experience with Git Graph, I have to say that it works well and I use it besides GitLens, for different kinds of use cases.
Just to reiterate from the original feature request, I was wondering whether a graph-like UI could be integrated into GitLens' _sidebar_ – instead of seeing a flat list, there would be "rails". But I'm not sure if that's possible or easy enough to implement. If not, that's fine, we now have Git Graph.
It looks like webviews work in VS Code now (https://github.com/microsoft/vscode-extension-samples/tree/master/webview-view-sample)? Any update on adding a history graph to GitLens?
This isn't something that I will likely add myself, but if the community wants to champion it and provide a PR (after discussing) I'm certainly open to it -- of course, depending on the complexity and scope of the changes required.
Most helpful comment
Would be perfect if we could just merge git graph and git lens.