Move support functions to lib/functions.sh. Make git quiet.