Session Ready
Exercise

How can I turn an existing project into a Git repository?

Experienced Git users instinctively start new projects by creating repositories. If you are new to Git, though, or working with people who are, you will often want to convert existing projects into repositories. Doing so is simple, just run:

git init

in the project's root directory, or:

git init /path/to/project

from anywhere else on your computer.

Instructions 1/2
undefined XP
  • 1

    You are in the directory dental, which is not yet a Git repository. Use a single command to convert it to a Git repository.

    • 2

      Check the status of your new repository.