Fixed issue #2312: Fix UTF-8 AutoCRLF issues with libgit2

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Correctly update folder status on file change and propagate to parents

Signed-off-by: Sven Strickroth <email@cs-ware.de>