1374 views

A picture is worth a thousand words! The Animated Git series continue. The series introduces core Git concepts with pictures and animations. If you missed it, watch and read “Part 1 – Gain precise control over your next commit.

This second part shows why Git is a distributed version control system (DVCS).

Get your own local repository

git clone copies a full-fledged remote repository to your local directory. This local repository includes the entire project history.

$ git clone https://github.com/Wakanda/wakanda-javascript-client.git

Work offline

Part of what makes Git so fast is performing most commands locally. You don’t need a network connection to create commits, view commit history and differences.

Commit locally

In part 1, you learned how to commit your work. Those commits are created in your local repository.

You’ll push your commits to a shared repository once you are ready or back online. We’ll cover pushing commits and collaborating with team members in Part 3.

We recommend the following articles to learn more about setting up and managing a local repository:

The Animated Git series will continue soon. Follow us on @WakandaSoft to catch the next one!