Cleaned up env vars, set GIT_EDITOR to vim.