Learn Git in 3 Hours- Configuring and Initializing a Repository

Learn Git in 3 Hours- Configuring and Initializing a Repository

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

This video tutorial covers the basics of configuring and initializing a Git repository on a local file system. It explains how to use the Git init command to turn a folder into a Git repository, create and navigate directories, and understand the hidden Git folder. The tutorial also prepares viewers to start tracking changes to files in the repository.

Read more

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to turn a folder into a Git repository?

git new

git create

git init

git start

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first step in the terminal to start a new Git project?

Open an existing repository

Make a new directory

Delete old files

Create a new file

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What message do you see after initializing an empty Git repository?

Repository created successfully

Git project started

Folder turned into Git

Initialized empty Git repository

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why might you not see the '.git' folder in the Finder window?

It is a hidden file

It is not created yet

It is in a different directory

It is deleted automatically

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command can be used to view hidden files in the terminal?

ls -v

ls -a

ls -l

ls -h