I was testing codex cli from openai on windows. Reinstalling Git to latest version resolved my issue.