Quick jump: Using Git Bash | Using Git GUI
Go to a git repository webpage. Most pages will have a Clone button,
which will give you options of links.
Select the HTTPS link and copy it.
(You can use SSH if you want, but I'm not going to cover the setup here.)
Locate a place on your hard drive where you want to store your class files. Right-click in the empty area, and select Git Bash Here.
Mac/Linux users: You won't have access to Git Bash, you will need to open the Terminal and run your commands from there. By default, the terminal opens up in your home directory. You can run the Git Clone command and then your repo folder will show up there.
Use ls
to view a list of all files and folders in that directory.
Use cd FOLDERNAME
to navigate into another folder, or cd ..
to go backwards
(but you should stay in the home directory).
Type in the command git clone
and then right-click in the console to paste in the URL that you had
copied before. Hit Enter and it will clone the repository to your computer.
Now your hard drive will have all the folders and files pulled down locally.
Go to a git repository webpage. Most pages will have a Clone button,
which will give you options of links.
Select the HTTPS link and copy it.
(You can use SSH if you want, but I'm not going to cover the setup here.)
Locate a place on your hard drive where you want to store your class files. Right-click in the empty area, and select Git GUI Here.
Click on the Clone Existing Repository option from the startup screen.
Under Source Location paste in the repository URL you copied.
Under Target Directory, select a path on your computer
where you want your class files stored.
Afterwards, click Clone.
Now your hard drive will have all the folders and files pulled down locally.