0% found this document useful (0 votes)
53 views3 pages

Version Control (Git) Assessment

Uploaded by

Otobong ukoyo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views3 pages

Version Control (Git) Assessment

Uploaded by

Otobong ukoyo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Topic 5: Version Control with Git

Poll Questions:

1. What is the purpose of the `git init` command?

A) To create a new Git repository

B) To clone an existing Git repository

C) To commit changes to a Git repository

D) To push changes to a remote Git repository

2. Which of the following is a Git workflow?

A) Centralized workflow

B) Feature branch workflow

C) Gitflow workflow

D) All of the above

3. What is the purpose of the `git add` command?

A) To stage changes for the next commit

B) To commit changes to a Git repository

C) To push changes to a remote Git repository

D) To pull changes from a remote Git repository

4. Which of the following is a Git version control system?

A) Git

B) SVN
C) Mercurial

D) All of the above

5. What is the purpose of the `git commit` command?

A) To stage changes for the next commit

B) To commit changes to a Git repository

C) To push changes to a remote Git repository

D) To pull changes from a remote Git repository

6. Which of the following is a Git branching model?

A) Feature branching

B) Release branching

C) Hotfix branching

D) All of the above

7. What is the purpose of the `git merge` command?

A) To merge changes from one branch into another

B) To commit changes to a Git repository

C) To push changes to a remote Git repository

D) To pull changes from a remote Git repository

8. Which of the following is a Git remote repository?

A) GitHub

B) GitLab

C) Bitbucket
D) All of the above

9. What is the purpose of the `git push` command?

A) To push changes to a remote Git repository

B) To commit changes to a Git repository

C) To stage changes for the next commit

D) To pull changes from a remote Git repository

10. Which of the following is a Git version control system feature?

A) Branching and merging

B) Committing and pushing changes

C) Staging and committing changes

D) All of the above

Essay Question:

Describe the importance of version control in software development. How does Git improve the
collaboration and management of code changes? (Word limit: 250)

You might also like