How to get rid of these artifacts?
Use reasonable view port clipping range in your 3D view, please.



There are fixed amount of precision degree in view port (32 bit perhaps?). If you make the view port cover range too large (from 0.000001 to 1000), it will cause z-fighting in your scene.

If you're doing that infamous tutorial, use these setting should handle your scene correctly.