Java environment setup and gitconfig file