If you’s prefer a written explanation, here’s the whole process described in clear steps. First, create a folder on your system for a new repo. Do this by using the terminal to navigate to where you want your new folder to be, then entering: mkdir mysite.
Full article