Run
git init
in the terminal for your project
Create a new repository in github
Run the following commands in your terminal to push your repo to github