Use non-system git commands for ssh access while set and sudoers are using this path. Should fail when path is not set and succed when set. Make sure UI represents changes correctly. Make sure that option is a command line option only (should not be settable by web interface).