how to show history of a folder in visual studio git
You can change the Solution Explorer to Folders View
Then you can right-click to find the View History menu.
Have you tried to go to the Team Explorer, and choose one of the hubs Changes, or Branches, or Sync ? You will find a drop down menu item named Actions, and within that you will find View History.
or you can go to the different branches in the Branches Hub, right click one of the branches, and choose View History
This will show you the whole history for your repo for a given branch.
If you have multiple folders or solutions within a repo, there is currently no such feature within VS, so you then need to revert to the command line, and use git log, or the gitk for a kind of graphic view of the same, a previous answer for that is here: View git history for folder