$ git status # List affected files
$ git checkout filename.html
# File has now been reverted to previous commit
- Open the Windows Start menu and type Regedit in the search field.
- Right-click the Registry Editor and select Run as administrator.
- Open this path => "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem"
- Select the entry named: LongPathsEnabled (If you don't have it, I explained how to create it below.)
- In the Value data field, enter a value of 1. This will enable to long paths option.