[environment] correct bash git scripts for ubuntu