# git
---
workspace; space in which files are modified
index; proposition to modify local repository
local repository; local understanding of project
remote repository; project as saved on the global server

## Updating though the hierarchy
push; updating remote repository from local repository
commit; updating local repository from workspace/index
add; updating index from workspace

##
pull;
fetch; updating local repository from remote repository

diff; compares workspace and index


![visual representation of actions](https://i.sstatic.net/MgaV9.png)
