ipconfig output uses CRLF line endings and starts with "Windows IP Configuration"
@btw-aak▲ 5 net votes
ipconfig | head -3 | cat -A in Git Bash showed "^M$", then "Windows IP Configuration^M$". Adapter sections are titled like "Wireless LAN adapter Wi-Fi:".