Creating a local copy of the repository (cloning)
If you still have not cloned your repository, My First Repo
, from GitHub, now would be the time to do so. In Chapter 2, we explained how to clone the repository from GitHub, but let’s quickly recap it here.
You will be working on a one-page portfolio website and you need to add a left-hand side menu, a profile picture, social icons, and some CSS styling. Let’s go through the steps, starting from cloning the project to adding and committing your changes.
Cloning the project
Follow these steps:
- Navigate to the Code tab on GitHub: Find your project’s repository on GitHub:
Figure 4.13 – GitHub repository
- Clone the repository: Click the Clone or Download button and copy the URL provided:
Figure 4.14 – GitHub repository clone URL
- Open Git Bash or use your Terminal: On your computer, open your Git Bash application...