git-gui: make config gui.warndetachedcommit a boolean