git を Windows で使う際の注意点

Windows 上で git をデフォルト設定で利用すると、改行コード自動変換でハマる場合があります。私はハマりました。
これに関連する情報をメモします。