Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Git Branch Differ
Git Branch Differ

Git Branch Differ

Sajal Verma

|
4,753 installs
| (3) | Free
Git Branch Differ is a Solution Explorer Filter which compares the working branch of your Git repo with the branch, commit or tag of your choice, and only shows those files in Solution Explorer which
Download

Git Branch Differ

Git Branch Differ is a Solution Explorer Filter which, when applied, only shows those files in your Solution Explorer that were Added/Modified/Renamed in your working branch as compared to a "reference" branch/commit/tag of your choice, typically a master/main branch.

After the filter is applied, you can open a diff for any file from Solution Explorer to view what changed.

Supports VS2019 and VS2022

To download for VS2019, go to https://marketplace.visualstudio.com/items?itemName=SajalVerma.GitBranchDiffer

Usage

  1. Click the Branch Diff Filter in the Solution Explorer Filters dropdown to only see files that were changed in the working branch.
    By default, the extension will use master/main or the first branch found in repo as the Git reference to compare with.

image

  1. Once the filter is applied, right-click on a file in Solution Explorer, then click Open diff with Git reference.
    This opens a new tab, displaying the diff of the file's content in working branch vs. file's content in reference branch/commit/tag.

image

  1. You can set your own Git reference from the Git reference configuration window.
    Click the button as shown in the screenshot below.

image

  1. Type in the branch name/commit-SHA/tag name in the text box at the bottom, or select a reference from the list of branches/recent commits/tags, then press OK. Re-apply the Branch Diff Filter filter in Solution Explorer.

image

Motivation

The extension was created to make reviewing pull requests in .NET projects easier, as jumping/navigating via code (classes, methods, properties and their references inside the solution) is possible when the comparison view is "native" to Visual Studio, as opposed to only text-based code comparison on platforms like Github.

120868239-e3582080-c593-11eb-9c62-d68d1a17b05f

Note that GitBranchDiffer filter does not support displaying files that were deleted in the working branch.

Report Issue

To report a bug, please use the Issue Tracker

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft