I had installed Flutter and Android Studio from the official websites. I am novice to Git, GitHub, mobile development and android development.
I was trying to run flutter doctor command in the Command Prompt (Windows 10). However, it spits an error in bright red saying:
Failed to find the latest git commit date: VersionCheckError: Command exited with code 128: git -c log.showSignature=false log -n 1 --pretty=format:%ad --date=iso Standard out: Standard error: fatal: bad object HEAD Returning 1970-01-01 05:30:00.000 instead.
Plz help me with this issue. I did face network issues while downloading but I resumed the download in time (in Chrome). I do NOT want to reinstall Flutter all over again because of data issues! Also because setting up this whole thing was really enervating!