for Mac, you can use
command
+ space ---> open Spotlight Searchtype 'terminal' and press enter
- go to your desk in termial
cd Desktop
- git clone the link
eg: this is just one example, please use your homework link
git clone https://github.com/MohammadClass/xxxxx
the below is a real example show case
- enter the createed file
If the file name is homework1 you gnona find a new file which named homework1 file in your desk
type the
filename
in your terminal
cd homework1
Here is when you finish your homework, you can update the homework to github with the following command.
-
git add .
-
git commit -m "you can comment whatever you want here"
-
git push
https://github.com/MohammadClass
https://classroom.github.com/classrooms/173418871-mohammadclass-classroom-9bec87
https://classroom.github.com/assignment-invitations/f835ab3eb3ba8eeaa143770f0a0d73d6/status
https://classroom.github.com/classrooms/173418871-mohammadclass-classroom-9bec87