How messing around in my Mac's terminal turned into a full chess analysis project — and a crash course in Python, Git, and a lot more.