apt install git -y
Open a browser and go to GitHub to look for the repository link that we will clone to the local server. For example, I will use a repository link from my own GitHub and will put it in a static directory. Let's see how to clone a GitHub repository
git clone https://github.com/ryzwan29/portfolio.git /var/www/static
systemctl restart apache2
Last updated 11 months ago