Git scripts bugs fixed.