I am using WSL 2 with a Ubuntu installation. The code itself is in a folder in the wsl network drive. When I try to git blame, I get the following error.

I tried the command listed in the prompt in both my windows batch shell and the wsl ubuntu installation but that did not fix it.