Issue solved. I asked a former teacher of mine, and they gave me a few commands to run in the terminal that fixed the issue, which were the following:
echo "export BROWSER=\"/mnt/c/Program Files/Google/Chrome/Application/chrome.exe\"" >> ~/.zshrc
echo "export GH_BROWSER=\"'/mnt/c/Program Files/Google/Chrome/Application/chrome.exe'\"" >> ~/.zshrc
Thanks Yann!