Fix code indentation and improve formatting

in the Getting Started Guide.

This PR regroups #14817, #14818 and #14819 into one commit.

[skip ci]
Merge pull request #14821 from jonatack/patch-5

Fix code indentation and improve formatting