Make unstaged modifications to staged files check contingent upon the existance of the environment variable GIT_PRECOMMIT_CHECK_UNSTAGED.