function Set-GitConfig { <# .SYNOPSIS Sets a git config value. .DESCRIPTION Allows setting single or multiple config values in a PowerShell-friendly fashion. .EXAMPLE Set-GitConfig advice.detachedHead false #> if ( $args.Count -lt 2 ) { throw 'Set-GitConfig called without required arguments