Using Git Locally

Git is an important skill for any front-end engineer working in any job to master. Let's learn more about it in this lesson.

Git jargon

Git uses a very particular vocabulary, and familiarity with it will make it easier for you to communicate with your team members and the online community. Here are some common terms:

Repository

To put it simply, a project is a repository. Git repositories, or ‘repos,’ contain all of the code and version history of a certain project.

Working directory

The working directory is the folder on your local computer where your project exists. Git would track any changes made within that folder.

Commit

Git does not save or store any changes made to the files within your working directory until you ‘commit’ it. Commits save the changes you made to Git itself.

Staging

However, suppose you made changes to 8 files within your working directory, but you ...