Describe the bug
When the fvm cli attempts to install a flutter SDK for the first time there is an Unknown error

ProcessException: Unknown error
Command: git clone --progress -c advice.detachedHead=false -b stable --reference /Users/user/fvm/cache.git https://github.com/flutter/flutter.git /Users/user/fvm/versions/stable
This is the state of the fvm folder in my user filesystem

If I then attempt to install again it has an issue with the clone repo.

This happens upon installing any version of the Flutter SDK

The issue appears not to be localised to my MacBook, I have found another user is experiencing the same issue.
There's a simple work around which I will post in this thread.
To Reproduce
Steps to reproduce the behavior:
- Go to terminal.
- Run
fvm install stable or fvm install <Flutter SDK version number>
- See error
Expected behavior
Flutter SDK version should install correctly into the version folder to be used in your project
Logs
fvm install 3.41.0 --verbose
Argument information:
Top level options:
- verbose: true
Command: install
Skipping git reference validation for version: 3.41.0
Updating local mirror...
Ensuring clean working directory...
Pruning stale references...
Fetching all refs...
Checking for uncommitted changes...
No uncommitted changes. Working directory is clean.
Local mirror updated successfully
Installing Flutter SDK: SDK Version : 3.41.0
Cloning into '/Users/samcoupland/fvm/versions/3.41.0'...
Updating files: 100% (15354/15354), done.
✗ Failed to install 3.41.0 (0ms)
✗ Flutter SDK is not a valid git repository after clone. Please try again.
Desktop:
- OS: IOS
- FVM Version: 4.0.5
Additional context
I have installed the latest version of FVM using brew, however I have experienced the same issue after installing it directly from fvm.app.
I can confirm git is working correctly and I have also updated the git config to allow for larger packet sizes and to accommodate for large repos, but have not seen a change in this error.
Describe the bug
When the fvm cli attempts to install a flutter SDK for the first time there is an

Unknown errorProcessException: Unknown error Command: git clone --progress -c advice.detachedHead=false -b stable --reference /Users/user/fvm/cache.git https://github.com/flutter/flutter.git /Users/user/fvm/versions/stableThis is the state of the fvm folder in my user filesystem

If I then attempt to install again it has an issue with the clone repo.

This happens upon installing any version of the Flutter SDK

The issue appears not to be localised to my MacBook, I have found another user is experiencing the same issue.
There's a simple work around which I will post in this thread.
To Reproduce
Steps to reproduce the behavior:
fvm install stableorfvm install <Flutter SDK version number>Expected behavior
Flutter SDK version should install correctly into the version folder to be used in your project
Logs
fvm install 3.41.0 --verbose
Desktop:
Additional context
I have installed the latest version of FVM using brew, however I have experienced the same issue after installing it directly from fvm.app.
I can confirm git is working correctly and I have also updated the git config to allow for larger packet sizes and to accommodate for large repos, but have not seen a change in this error.