This fixes the issue described in #2243, where the .git folder's path ends on a weird character produced by `cygpath` when the newline character is fed into it (when using shell=powershell)
reload
utils
$GIT_DIR
find_file
group_empty