Version Control with Git Quiz Answer Module 1
Module 1 Assessment
Q1) Which one of these statements about Git is true?
- Git helps manage the history of the project.
Q2) Which one of these statements about branches is true?
- The default branch is named "master".
Q3) What is a request to merge your branch into another branch called?
- Pull request
Q4) If a remote repository is offline, which one of the following is true?
- You can continue to work with the local repository.
Q5) Which one of the following is true?
- Git implements distributed version control.
Q6) Which one of these statements about commits is true?
- A commit is a snapshot of the project.
Q7) Which location contains the list of files that will be included in the next commit?
- Staging area
Q8) Which location contains the commit history of a project?
- Remote repository
Q9) When a file is first placed in the working tree, what is its status?
- Untracked
Q 10) What must you do to add a new file to the next commit?
- Add the file to the staging area.
Q11) If you create a local repository in a folder with existing files, what will be the status of the files ?
- Untracked
Q12) Immediately after you commit, where is the commit located ?
- Local repository
Q13) Which one of these statements about remote repositories is true ?
- By convention, remote repository names end in ".git".
Q14) What is a local copy of a remote repository called ?
- Clone
Q15) After you clone a repository, which one of the following is true ?
- The remote repository information is available in the local repository.
Q16) What is origin ?
- An alias for the remote repository's URL.
Q17) What must you do to add a local commit to the remote repository?
- Push
0 Comments