I tried to clone a private repository which I had access, the cloning is success but the checkout were error in windows(it's working fine on linux)
this are the error:
git checkout -q --track origin/master
error: invalid path 'ios/Runner/Assets.xcassets/AppIcon-Prod.appiconset/Prod2021-Icon-40:42-Home-Screen@2x~watch.png'
error: invalid path 'ios/Runner/Assets.xcassets/AppIcon-Prod.appiconset/Prod2021-Icon-40:42-Notification@2x~watch.png'
error: invalid path 'ios/Runner/Assets.xcassets/AppIcon.appiconset/New icon 2-40:42-Home-Screen@2x~watch.png'
error: invalid path 'ios/Runner/Assets.xcassets/AppIcon.appiconset/New icon 2-40:42-Notification@2x~watch.png'
error: The following untracked working tree files would be overwritten by checkout:
.firebaserc
.gitignore
.metadata
.vscode/launch.json
.vscode/settings.json
Makefile
README.md
analysis_options.yaml
android/.gitignore
android/app/build.gradle
android/app/google-services.json
android/app/src/debug/AndroidManifest.xml
android/app/src/dev/google-services.json
android/app/src/main/AndroidManifest.xml
android/app/src/main/ic_launcher-playstore.png
android/app/src/main/kotlin/com/example/people_lite/MainActivity.kt
android/app/src/main/res/drawable/launch_background.xml
android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
android/app/src/main/res/mipmap-hdpi/ic_launcher.png
android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
android/app/src/main/res/mipmap-mdpi/ic_launcher.png
android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
android/app/src/main/res/values-night/styles.xml
android/app/src/main/res/values/ic_launcher_background.xml
android/app/src/main/res/values/styles.xml
android/app/src/prd/google-services.json
android/app/src/prd/ic_launcher-playstore.png
android/app/src/prd/res/mipmap-anydpi-v26/ic_launcher.xml
android/app/src/prd/res/mipmap-anydpi-v26/ic_launcher_round.xml
android/app/src/prd/res/mipmap-hdpi/ic_launcher.png
android/app/src/prd/res/mipmap-hdpi/ic_launcher_foreground.png
android/app/src/prd/res/mipmap-hdpi/ic_launcher_round.png
android/app/src/prd/res/mipmap-mdpi/ic_launcher.png
android/app/src/prd/res/mipmap-mdpi/ic_launcher_foreground.png
android/app/src/prd/res/mipmap-mdpi/ic_launcher_round.png
android/app/src/prd/res/mipmap-xhdpi/ic_launcher.png
android/app/src/prd/res/mipmap-xhdpi/ic_launcher_foreground.png
android/app/src/prd/res/mipmap-xhdpi/ic_launcher_round.png
android/app/src/prd/res/mipmap-xxhdpi/ic_launcher.png
android/app/src/prd/res/mipmap-xxhdpi/ic_launcher_foreground.png
android/app/src/prd/res/mipmap-xxhdpi/ic_launcher_round.png
android/app/src/prd/res/mipmap-xxxhdpi/ic_launcher.png
android/app/src/prd/res/mipmap-xxxhdpi/ic_launcher_foreground.png
android/app/src/prd/res/mipmap-xxxhdpi/ic_launcher_round.png
android/app/src/prd/res/values/ic_launcher_background.xml
android/app/src/profile/AndroidManifest.xml
android/app/src/stg/google-services.json
android/build.gradle
android/gradle.properties
android/gradle/wrapper/gradle-wrapper.properties
android/settings.gradle
android/settings_aar.gradle
assets/background/whiteh336.png
assets/background/whiteh336@2x.png
assets/background/whiteh336@3x.png
assets/icons/app-icon.png
assets/images/SplashScreen.png
assets/msal_auth_config.json
assets/public_suffix_list.dat
codecov.yml
codemagic.yaml
firebase.json
ios/.gitignore
ios/Configuration.storekit
ios/Flutter/AppFrameworkInfo.plist
ios/Flutter/Debug.xcconfig
ios/Flutter/Release.xcconfig
ios/Podfile
ios/Podfile.lock
ios/Runner.xcodeproj/project.pbxproj
ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
ios/Runner.xcodeproj/xcshareddata/xcschemes/dev.xcscheme
ios/Runner.xcodeproj/xcshareddata/xcschemes/prd.xcscheme
ios/Runner.xcodeproj/xcshareddata/xcschemes/stg.xcscheme
ios/Runner.xcworkspac
Aborting
i need to work on it using windows because running flutter project on linux is frustating. the vscode and android studio always crashed every 30 minutes and i have to restart the PC. I tried using sourcetree same error. tried download and open it but i can't change branch.