Versions of a file are stored as “commits” that can be reverted
Not necessarily online, can be on your personal laptop
Website to store git-tracked files
Collaborate on files and make suggestions for improvement
Also allows hosting html files online (GitHub Pages)
Git workflow
flowchart LR
A(fa:fa-pencil <b>Make change</b><br><i>Collect to be sent items</i><br><img src="https://images.pexels.com/photos/6068969/pexels-photo-6068969.jpeg"/>) --> B
B(fa:fa-archive <b>Stage</b><br><i>Put in package</i><br><img src="https://live.staticflickr.com/1560/25069988352_98dd8f1c8d_b.jpg"/><br><code>git add your-edited-file</code>) --> C
C(fa:fa-tag <b>Commit</b><br><i>Add packaging label</i><br><img src="https://live.staticflickr.com/65535/52177106715_98e603fdf5_b.jpg"/><br><code>git commit -m 'made x update'</code>) --> D
D(fa:fa-paper-plane <b>Push</b><br><i>Send package</i><br><img src="https://upload.wikimedia.org/wikipedia/commons/2/22/PostNL_Pakket-_en_briefautomaat%2C_Almere_%282020%29_04.jpg"/><br><code>git push</code>)