I just installed Git on my Windows PC running Windows 8.1 keeping most of the options to the default.
Then I tried to check the version using
git --version
Got this error message
C:\Windows\system32>git --version
fatal: open /dev/null or dup failed: No such file or directory
Git version - Git-2.27.0-64-bit
Source : https://gitforwindows.org/
What might went wrong?