If you are struggling to have each developer use the same version of Git then the following recipe below is key!
docker run --rm -v $PWD:/mnt manorrock/git:2.12.0 git version
Click here to see the most current versions of the Git docker image
If you are on a *nix based system you can opt for aliasing Git.
alias git='docker run --rm -v $PWD:/mnt manorrock/git:2.12.0 git'
Posted April 13, 2017