Script Valley
Git and GitHub Complete Course: From Beginner to Advanced
Introduction to Version Control and Git Basics/Assessment

Practice & Assessment

Test your understanding of Introduction to Version Control and Git Basics

Multiple Choice Questions

5
1

What type of version control system is Git?

2

Which command initializes a new Git repository in the current directory?

3

What does the staging area in Git represent?

4

Which command sets your Git username globally for all repositories on your machine?

5

What is the purpose of the .gitignore file?

Mini Project

1

Personal Developer Journal Repository

Create a local Git repository called 'dev-journal'. Add a README.md with your name and goals, a .gitignore that excludes .env and node_modules, and a journal.md file with your first entry. Make at least three meaningful commits with well-written messages. Practice amending a commit message and viewing the log in both full and oneline formats.

Easy