make curl quieter
improve rev-parse output