All skills

Cloud & DevOps

Git

Overview

Git is a distributed version control software system that is capable of managing versions of source code or data. It is often used to control source code by programmers who are developing software collaboratively.

Read more

How it works

bash
git checkout -b feature
git add .
git commit -m "Add feature"
git push origin feature

The flow

Step by step, from source to running.

  1. 1Edit files in the working tree
  2. 2git add stages a snapshot
  3. 3git commit writes an immutable object
  4. 4Push/pull syncs with remotes

Links

More in Cloud & DevOps