Git: fix when insertion == 1 line or deletion == 1 line