How to set global user name and email in git

I need to write this code down as I always forget about it.

$ git config --global "Milosz Galazka"
$ git config --global ""
$ cat ~/.gitconfig 
        name = Milosz Galazka
        email =
Milosz Galazka's Picture

About Milosz Galazka

Milosz is a Linux Foundation Certified Engineer working for a successful Polish company as a system administrator and a long time supporter of Free Software Foundation and Debian operating system. He is also open for new opportunities and challenges.

Gdansk, Poland