A distributed version control system is best described as a system that:
Answer : C
A distributed version control system (DVCS) like Git is best described as a system that ensures each developer has their own local copy of the entire code repository, including the complete project history and metadata. This decentralized approach allows developers to work independently, with full access to the project's history and files, and later synchronize their changes with others. Unlike centralized systems, DVCS does not rely on a single central server, which provides greater flexibility and robustness in collaboration.
What are two recommended ways of improving the discoverability of a repository?
(Each answer presents a complete solution. Choose two.)
Answer : B, D
Two recommended ways to improve the discoverability of a repository on GitHub are:
B . Create a README file describing the repository: A well-written README file provides essential information about the project, such as what it does, how to use it, and how to contribute. This is often the first thing potential users or contributors will see, making it critical for discoverability.
D . Add topics to classify the repository: Adding topics to your repository helps classify it under specific categories, making it easier for others to find it through GitHub's search and exploration features. Topics act like tags, helping to connect your project with users interested in similar subjects.
Registering a repository with GitHub search and adding labels are not applicable actions for improving discoverability in the broader sense.
What folder is the definition files stored in when creating custom issue forms?
Answer : C
When creating custom issue forms on GitHub, the definition files are stored in the .github/ISSUE_TEMPLATE folder. This directory is used to define issue templates and forms that help standardize the information collected when users open new issues in the repository. The .github folder is a special directory used for various repository configurations and workflows.
Which of the following statements most accurately describes secret gists?
Answer : A
Secret gists on GitHub are 'unlisted' gists, meaning they are not publicly discoverable but can be viewed by anyone who has the URL.
Visibility of Secret Gists:
Option A is correct because secret gists can be viewed by anyone who has the direct URL, making them accessible yet unlisted.
Incorrect Options:
Option B is incorrect because secret gists do not require GitHub Enterprise; they are available on all GitHub accounts.
Option C is incorrect because secret gists do not appear on the gist Discover page.
Option D is incorrect because secret gists do not have an 'assigned access' feature; access is determined by sharing the URL.
Which of the following can be performed within GitHub Mobile?
Answer : E
GitHub Mobile provides a streamlined experience for managing your GitHub notifications and participating in discussions, but it does not offer full functionality compared to the desktop or web interface.
Managing Notifications:
Option E is correct because GitHub Mobile allows users to manage notifications, keeping them up to date with their repositories, issues, pull requests, and other activities on GitHub.
Incorrect Options:
Option A is incorrect because GitHub Mobile cannot be used as a self-hosted runner.
Option B is incorrect because managing enterprise and organization settings is not supported in GitHub Mobile.
Option C is incorrect because GitHub Mobile does not offer a chat or voice calling feature.
Option D is incorrect because forking and cloning repositories are not actions available in GitHub Mobile.
Pull requests can only be created between two branches that are:
Answer : D
Pull requests are created to propose changes from one branch to another. These branches must be different; otherwise, there would be no changes to propose. Typically, pull requests are made from a feature or topic branch to a main branch (such as main or master), allowing for code review and integration before the changes are merged.
What qualifier finds issues that mention a certain user?
Answer : A
The qualifier mentions: is used in GitHub's search functionality to find issues that mention a certain user. For example, if you want to find all issues where a specific user is mentioned, you would use mentions:username. This helps in tracking where a user has been involved in discussions across issues or pull requests.