fix install git and bash errors