How did I force Git to use the correct `HOME` directory in Cygwin?

Could not create directory '/home/dmitrii/.ssh' (No such file or directory).

2024-09-26--09-10-56

Git ignores the db_home value in etc/nsswitch.conf:

A similar problem: stackoverflow.com/q/39551802