Fix `GIT_PATH`.
sed
Work around `sed`'s issue with file permissions.
Revert "sed"

This reverts commit 6d9f3199472ce922da1ffdf23cb8977a79ad583a.