Introduction: Clone a Repository

Learn about cloning a repository in this chapter.

This chapter covers:

  • git clone
  • git reset

The git clone command#

The git clone command helps you create copies of Git repositories to work on.

The git reset command#

The git reset command helps you return to a previous or known state.

As you play with Git and learn it, you will often make mistakes in your local repositories. In these situations, many users delete the entire repository and re-clone. But often, all that’s needed is a hard reset.

Challenge: Git Basics
Cloning a Remote Repository
Mark as Completed
Report an Issue