Great! Now that you’ve created a repo with the proper naming convention, let’s upload your site to GitHub.
We’ll use Git to push (upload) the contents of your site’s directory to your new repo.
To do so, we’ll first initalize a Git repository in your site’s directory.
In the terminal to the right, open a new tab.
Then, use the
cd command to navigate to your site’s directory.
Now that you’re inside of your site’s directory, initialize a Git repository with the following command: