The exact silent switches the Git installer accepts, plus a one-line command you can paste into a script, Intune Win32 app, or Configuration Manager package.
Git-2.52.0-rc2-64-bit.exe /SP- /VERYSILENT /SUPPRESSMSGBOXES /NORESTART
Run from the directory containing Git-2.52.0-rc2-64-bit.exe. Download the installer from the Direct link below first.
| Architecture | Scope | Type | Silent switches | Source |
|---|---|---|---|---|
| x64 | user | EXE Inno Setup | Declared by publisher | |
| x64 | machine | EXE Inno Setup | Declared by publisher | |
| arm64 | user | EXE Inno Setup | Declared by publisher | |
| arm64 | machine | EXE Inno Setup | Declared by publisher |
/S for NSIS, /quiet /norestart for MSI).Prefer the winget route? See the full Git install page.