- Local Use
- Remote Use
Git is a system to use that helps track and save changes made to a file or a project. Files can range from anything to simple text, to videos and photos, to pages of software code. For students of Turing, we are given a Mac, so here I will be discussing how to use the Mac Terminal to perform git actions locally. There are several important functions of git to understand:
git init
git init
is the command to tell git to start tracking a particular file. Once initialized, git can then track everything within the directory. In the terminal, it will look like this: