WGU D197 GIT VERSION CONTROL
COMPREHENSIVE EXAM STUDY GUIDE
WITH COMPLETE SOLUTIONS
●● What are the primary goals of Git?
Answer: To provide speed, support distributed architecture, and facilitate
non-linear development.
●● Define 'repository' in the context of Git.
Answer: A storage space where your project files and the history of
changes are kept.
●● What does 'commit' mean in Git?
Answer: To save changes to the repository, creating a snapshot of the
current state of the project.
●● What is a 'branch' in Git?
Answer: A parallel version of the repository that allows for development
of features or fixes without affecting the main codebase.
●● What is the 'master' branch in Git?
Answer: The default primary branch where the stable version of the
project is maintained.
,●● What command initializes a new Git repository?
Answer: git init
●● What does the command 'git status' do?
Answer: Displays the state of the working directory and staging area,
showing which changes have been staged, which are not, and which files
aren't being tracked.
●● How do you install Git?
Answer: By downloading it from the official Git website or using a
package manager appropriate for your operating system.
●● What year was Git created?
Answer: 2005
●● Who led the development of Git?
Answer: Linus Torvalds
●● What is Git primarily used for?
Answer: Source code management.
●● What does VCS stand for?
, Answer: Version Control System.
●● What is a repository in Git?
Answer: A collection of all the files and their change history that you
and your team are working on.
●● What is the act of saving a version in Git called?
Answer: Committing.
●● What does the term 'committed' mean in Git?
Answer: Data is safely stored in your local database.
●● What does the term 'modified' mean in Git?
Answer: You have changed the file but have not committed it yet.
●● What does the term 'staged' mean in Git?
Answer: You have marked a modified file to go into your next commit
snapshot.
●● What is the Git directory?
Answer: Where Git stores the metadata and object database for your
project.
COMPREHENSIVE EXAM STUDY GUIDE
WITH COMPLETE SOLUTIONS
●● What are the primary goals of Git?
Answer: To provide speed, support distributed architecture, and facilitate
non-linear development.
●● Define 'repository' in the context of Git.
Answer: A storage space where your project files and the history of
changes are kept.
●● What does 'commit' mean in Git?
Answer: To save changes to the repository, creating a snapshot of the
current state of the project.
●● What is a 'branch' in Git?
Answer: A parallel version of the repository that allows for development
of features or fixes without affecting the main codebase.
●● What is the 'master' branch in Git?
Answer: The default primary branch where the stable version of the
project is maintained.
,●● What command initializes a new Git repository?
Answer: git init
●● What does the command 'git status' do?
Answer: Displays the state of the working directory and staging area,
showing which changes have been staged, which are not, and which files
aren't being tracked.
●● How do you install Git?
Answer: By downloading it from the official Git website or using a
package manager appropriate for your operating system.
●● What year was Git created?
Answer: 2005
●● Who led the development of Git?
Answer: Linus Torvalds
●● What is Git primarily used for?
Answer: Source code management.
●● What does VCS stand for?
, Answer: Version Control System.
●● What is a repository in Git?
Answer: A collection of all the files and their change history that you
and your team are working on.
●● What is the act of saving a version in Git called?
Answer: Committing.
●● What does the term 'committed' mean in Git?
Answer: Data is safely stored in your local database.
●● What does the term 'modified' mean in Git?
Answer: You have changed the file but have not committed it yet.
●● What does the term 'staged' mean in Git?
Answer: You have marked a modified file to go into your next commit
snapshot.
●● What is the Git directory?
Answer: Where Git stores the metadata and object database for your
project.