From the course: Programming Foundations: Version Control with Git

Unlock the full course today

Join today to access over 24,400 courses taught by industry experts.

Setting up a local repository

Setting up a local repository

- [Instructor] Now that we have our configuration set up, we're ready to jump into Git, starting with creating a local repository. In the last exercise, we created the LinkedIn Git course folder to hold all of the exercises. So you should still be in this directory, which is shown in the prompt. If not, change to this directory now. Here's a little trick. First, type cd followed by a space. Then you can drag and drop the folder right into your command line. Then press enter, or return. Technically, we're using the computer's UI to move the folder instead of strictly relying on the command line interface. But I always say, use whatever works best for you. Before adding the next command, I'm just going to clear my window. Now, let's make a new project folder using the make directory command, mkdir, space, and a folder name. Usually, I use something descriptive like the client name, project name, or the domain name. But since we're just creating a test project, I'll name it…

Contents