1
Answer

Visual Studio not showing Git branch name

Photo of Rinki

Rinki

May 15
168
1

I was working on a project in Visual Studio recently, and everything was fine. But when I opened the same project today, the Git branch name no longer appears in the status bar. Also, when I try to switch branches, I get the following error:

"Object reference not set to an instance of an object."

Has anyone encountered this issue before? Any suggestions on how to fix it would be greatly appreciated!

Answers (1)