Doing the first two steps was enough for me. In case it doesn't work. can do the third step.
- Enable Developer Mode:
• Open Settings.
• Go to Update & Security > For developers.
• Turn on Developer Mode.
- Configure Git to Use Symbolic Links:
• Open Git Bash and run the following command to enable symbolic links globally:
git config --global core.symlinks true
- Grant Symbolic Link Privileges:
• Open the Local Group Policy Editor (gpedit.msc).
• Navigate to Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment.
• Find and double-click Create symbolic links.
• Add your user account to the list.