Git and GitHub Basics Questions And Answers 2025
Git and GitHub Basics Questions And Answers 2025 1. What is the primary function of a repository in the context of version control systems like Git? To store project files and their revision history To execute automated tasks for CI/CD To visualize changes between different commits To manage user permissions for project access 2. What is the primary purpose of a commit in Git? To create a new branch in the repository To record a snapshot of changes along with a unique identifier To merge changes from one branch to another To fetch updates from a remote repository 3. What is the name of the default branch that a repository creates? 4. What is the primary purpose of performing a merge operation in Git? To create a new branch from an existing one To integrate changes from one branch into another To delete a branch after its changes have been applied To revert a commit to a previous state 5. What is the primary purpose of a GitHub pull request (PR) in a collaborative development workflow?
Document information
- Uploaded on
- March 7, 2025
- Number of pages
- 3
- Written in
- 2024/2025
- Type
- Exam (elaborations)
- Contains
- Questions & answers