1.7 KiB
1.7 KiB
Git 101
Structure of a git project
- The working directory is the folder where we want to manage our project
- The index is an intermediary step between the files in the directory and the commits
- A commit is a full snapshot (i.e. copy) of the contents of the working directory at some point

Branches
- A branch is a way to diverge from the commits
- It allows multiple people to work on the same project without conflicts
Remotes
- The real advantage of git is allowing multiple people to work on the same project from different locations
- A server is used to synchronize the changes between the developers
