hey @rgudivada, thanks for the post, we will check on this, tho would you mind sharing some screenshot of the comportment that is happening right now? Tho, good catch, the SCM badge shouldn’t be summing changes across every worktree in the repo. And as of my testing, I was able to reproduce the issue too.
Thanks for the clear repro steps! As @Tom_Coustols noted, we were able to reproduce this on our end - the Source Control badge is summing changes across every worktree of the repo instead of just the active one.
While we dig into it, you can make the badge reflect only the worktree you’re currently in by adding this to your settings.json:
"scm.countBadge": "focused"
That switches the badge from “sum of all detected repositories” (the default) to just the focused one, which matches what you’re after. You can revert to "all" (or use "off") whenever you like.