I believe a moderator deleted my answer without reading it thoroughly.
Direct link to the now deleted answer: https://stackoverflow.com/a/77964098/1426539
Since 2011, this topic received a lot of answers, including mine. I recently added a comment about a new gitconfig feature and it was deleted. No previous answers addressed this, as this is a new feature.