improve git case detection
improve git case detection

jeff-hykin/better-cpp-syntax,jeff-hykin/better-cpp-syntax,jeff-hykin/better-cpp-syntax,jeff-hykin/better-cpp-syntax,jeff-hykin/better-cpp-syntax,jeff-hykin/better-cpp-syntax