Forgot to use "$GIT" in the new calls to git reset, clean, and apply