• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 9 pages
Exam (elaborations)

Git and Github Exam Questions With Complete Solutions

Document preview thumbnail
Preview 2 out of 9 pages

Git and Github Exam Questions With Complete Solutions

Content preview

Git and Github Exam Questions With Complete Solutions

________ is an example of a distributed version control system.

a) express
b) git
c) ruby Correct Answers b) git

_________ is to remote version control as ___________ is to
distributed version control.

a) Github, Git
b) Ruby, Git
c) Git, Github Correct Answers a) Github, Git

___________ a GitHub repository is just a way to create your
own copy of it. Correct Answers Forking

CLI Code:

ls Correct Answers gives us a list of all the files in the directory

Code:
$ git status Correct Answers check the status of any changes

*used frequently

Code:
git add <file name or path> OR git add . Correct Answers git
add <file name or path>

, will add changes individually when I'm ready to keep track of
changes

git add .
captures ALL changes in directory; refers to the entire current
directory

Code:
git init Correct Answers create a new git repository out of a
directory

*only done once per project

Define:
Version Control Correct Answers the process of storing
multiple versions of a single project, allowing each version to be
recalled at a later date

Difference between local vs. remote version control Correct
Answers Local version control - stores info on my computer
(locally!); makes it difficult to collaborate with others

Remote version control - a repository as a large folder that stores
all the files of a particular project; MULTIPLE people can
collaborate on the same project at once...but you must be
connected to the network

Difference between remote version control vs. distributed
version control systems Correct Answers Remote version
control - a repository as a large folder that stores all the files of a

Document information

Uploaded on
July 26, 2025
Number of pages
9
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$11.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Classroom
4.0
(1213)
Sold
5015
Followers
3246
Items
56732
Last sold
1 day ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions