What is the primary purpose of GitHub?

What is the primary purpose of GitHub?

a) To host Git repositories
b) To write code
c) To debug programs
d) To compile code

Answer:

a) To host Git repositories

Explanation:

GitHub is a web-based platform used for hosting Git repositories. It enables collaboration by providing tools for version control, issue tracking, and project management, making it easier for teams to work together.

GitHub also integrates with various development tools and offers features like pull requests and code reviews, which streamline the development workflow.

GitHub is widely used in both open-source and enterprise projects, allowing developers to share, contribute to, and manage code efficiently.

Reference:

Top 100 Git and GitHub MCQ Questions and Answers

Scroll to Top