shell setup: clear_local_git_env() function