Because git expects a POSIX API and POSIX tools and also POSIX behaviour like symlinks and line-endings to do its job.