How to Transfer a Project from PythonAnywhere to GitHub

I know this may come easy to alot of people but for me i guess im hard headed i looked it up on google but am seeing how to do the opposite my goal is to get one of the projects i have finished on and just publish it on github but when i do it tells me "We need to know who you are and then tells me to do - git config --global user.emal and git config --global and when i do that it tells me and error saying invalid key. Any help would be great thanks

Could you email a screenshot of the console with the exact commands you entered and the full error message? (I say email rather than post because you probably don't want to post it publicly here on the forums -- it would have your email address and other private information.)