Professional Documents
Culture Documents
Question 1
Correct
Git offers means to view the commit history and the changes in the different file versions. git log displays detailed
information about the previous commits, including the commit hashes. It is possible to inspect the changes in the different files using
git diff and the commit hashes, or abbreviations like HEAD, HEAD^, or HEAD~8. .
git history
https://moodle.tu-ilmenau.de/mod/quiz/review.php?attempt=2483&cmid=18597 1/7
11/5/23, 1:04 PM Quiz: Git Tutorial: Attempt review
Question 2
Correct
Specify the version control system type for the following version control systems.
https://moodle.tu-ilmenau.de/mod/quiz/review.php?attempt=2483&cmid=18597 2/7
11/5/23, 1:04 PM Quiz: Git Tutorial: Attempt review
Question 3
Correct
Match the following types of version control systems to their corresponding properties.
- Stores versions on a remote server and only synchronizes the most recent version(s) to
the local machine
- Provides a simple backup solution and supports collaboration Client-server based version control system
- Network connection needed
- Stores versions on a remote server and only synchronizes the most recent version(s) to the local machine
- Provides a simple backup solution and supports collaboration
- Network connection needed
https://moodle.tu-ilmenau.de/mod/quiz/review.php?attempt=2483&cmid=18597 3/7
11/5/23, 1:04 PM Quiz: Git Tutorial: Attempt review
Question 4
Correct
a. If the system stores the data also remotely, the can server as a basic backup solution.
b. Some can support collaboration between different programmers.
c. They help to store and organize different version of the source code
Question 5
Correct
Which of the following statements about branching and merging in a git repository are correct?
a. Branches speed-up the consecutive development of features, but are not suitable for developing multiple features in parallel.
b. Merging files manually is time-consuming task that occurs frequently when using branches.
d. Merge conflicts always occur if two person modify the same file.
https://moodle.tu-ilmenau.de/mod/quiz/review.php?attempt=2483&cmid=18597 4/7
11/5/23, 1:04 PM Quiz: Git Tutorial: Attempt review
Question 6
Incorrect
Which command is used to create a local git repository with a remote repository.
a. git create
b. git init
c. git start
d. git clone
Question 7
Correct
Which command is used to create a local git repository based on an existing remote repository.
a. git create
b. git init
c. git clone
d. git start
https://moodle.tu-ilmenau.de/mod/quiz/review.php?attempt=2483&cmid=18597 5/7
11/5/23, 1:04 PM Quiz: Git Tutorial: Attempt review
Question 8
Correct
What are the benefits of connecting to a git server via SSH instead of HTTPS.
a. The SSH private key can easily be shared with others working on the project.
c. An SSH key is much longer than most password and, therefore, much saver.
d. The download speed via an SSH connection is much faster than via an HTTPS connection.
e. There is no longer a need for entering the password and the user name.
The correct answers are: There is no longer a need for entering the password and the user name.,
An SSH key is much longer than most password and, therefore, much saver.
Question 9
Correct
Assume your name is "bob", your email address "bob@mail.com", and you want to used the editor nano for editing you git commit messages.
Which command(s) are needed for the initial setup of your local git installation?
https://moodle.tu-ilmenau.de/mod/quiz/review.php?attempt=2483&cmid=18597 6/7
11/5/23, 1:04 PM Quiz: Git Tutorial: Attempt review
Question 10
Correct
Adding content to a git repository and synchronizing the local changes with a remote repository need several steps. Arrange the commands
below in the correct order.
1. git add .
2. git commit
Question 11
Correct
We can use git config --list to display the current git configuration?
Select one:
True
False
https://moodle.tu-ilmenau.de/mod/quiz/review.php?attempt=2483&cmid=18597 7/7