xxxxxxxxxx
Uninstall the one u dowloaded from the site.
instead, go to ur C: dir or where ever u want to install
and do
git clone -b master https://github.com/flutter/flutter.git
then go inside flutter/bin
copy that path
and add it as a env var in ur PATH
xxxxxxxxxx
git config --global --add safe.directory D:/flutter
//Change the D:/flutter to where your flutter is installed
xxxxxxxxxx
C:\Program Files\Git\bin\git.exe;C:\Program Files\Git\cmd;C:\Windows\System32