git scripts improvements