Switching to flutter channel 'stable'... git: error: cannot open .git/FETCH_HEAD: Permission denied Switching channels failed with error code 255. code example
Example: error: cannot open .git/FETCH_HEAD: Permission denied
sudo chown -R $(whoami) .git/