# Initialize git in your project directory
git init
git add .
git commit -m "Initial commit"

```

Next, create a new public or private GitHub repository and add it as the remote:

```bash