Add git-core in Docker build.

And some minor tidying in Dockerfile.