Git related modules are extremely slow on windows
Author: FlyinCowCreated Aug 17, 2026Updated Aug 31, 2026
Labels🐛 bug
Current Behavior
Document says:
TIP
The Git Status module is very slow in Windows directories (for example under /mnt/c/) when in a WSL >environment. You can disable the module or use the windows_starship option to use a Windows-native >Starship executable to compute git_status for those paths.
But I'm using windows git with windows starship, it is still slow when I enter a git folder git version: starship version: profile:
Expected Behavior
Faster.
Additional context/Screenshots
Both starship and git are installed via scoop. There might be something to do with scoop-installed git, cause the github cli can not work with it properly as well.
Possible Solution
Environment
- Starship version: 1.26.0
- powershell version: 5.1.26100.8894
- Operating system: Windows 10.0.26200
- Terminal emulator: vscode 1.133.0
- Git Commit Hash: fca92d8
- Branch/Tag: main
- Rust Version: rustc 1.96.0 (ac68faa20 2026-05-25)
- Rust channel: stable-x86_64-pc-windows-msvc release
- Build Time: 2026-06-28 17:05:55 +00:00
Relevant Shell Configuration
<unknown config>
Starship Configuration
"$schema" = 'https://starship.rs/config-schema.json'
add_newline = false
format = '''[](blue bold) $directory $python$fill $git_status$git_branch
$character($git_state )'''
right_format = '$time'
[directory]
truncate_to_repo = false
truncation_symbol = '/'
[python]
format = '[${symbol} ($virtualenv)\($version\)]($style)'
symbol = ''
version_format = '${raw}'
[fill]
symbol = ' '
[git_status]
format = '([\[$all_status$ahead_behind\]]($style))'
modified = '$count'
[git_branch]
format = '[\[$symbol$branch(:$remote_branch)\]]($style)'
symbol = ''
[character]
success_symbol = '[➜](bold green)'
error_symbol = '[➜](bold red)'
[git_state]
[time]
disabled = false
format = '[$time]($style)'
style = 'dimmed'
[package]
disabled = true
Source: starship/starship