I am having an error in SourceTree that says, \"Error Encountered: \'git tag\' failed with code 128: fatal: unterminated line in .git/packed-refs\" If anyone has seen this e
Just delete the file .git / packed-refs. from the flutter folder
Download the sdk again from https://flutter.dev/docs/get-started/install/windows and copy the folder to the flutter location, in this way files were mixed and everything worked correctly.