Make sure that ~/.gitconfig exists or touch it otherwise
This is required because otherwise Docker would create a directory with the same name and that will cause issues.
Edited by Jürgen Haas
This is required because otherwise Docker would create a directory with the same name and that will cause issues.