Getting this error: warning: LF will be replaced by CRLF in Project/New Unity CG Cookie Project/Assets/Scene.meta.

How do I configure the github client to prevent this error when selecting Commit to Master:

warning: LF will be replaced by CRLF in Project/New Unity CG Cookie Project/Assets/Scene.meta.

I'm using Unity 2017.  Also, the gitignore file created by git seems to be wrong.  Does this tutorial work with Unity 2017?