There are two main ways to do a “git clone” from GitHub: via HTTPS and via SSH. These are just two popular protocols that computers use to communicate. However, each way may require a little bit of setup to get working in GitHub.
What is “git clone” though? “Git clone” is a command that copies files from a remote server onto your local machine. It’s one of the first Git commands you need to learn to start using GitHub and Git. GitHub and Git are crucial tools to learn for anyone who is learning how to code or build personal coding projects and applications.
I will be going over these two because these are the only two ways I have used “git clone” at my software jobs. Setting these up with GitHub can be intimidating, frustrating, and discouraging if you’re just starting out. Once you learn how to “git clone”, you’ll be ready to start using git with your code!
In this video, you’ll learn:
-What “git clone” is for
-How to “git clone” via HTTPS
-How to “git clone” via SSH
Hope this helps you get started!
-Henrik