Skip to content
This repository was archived by the owner on Apr 10, 2026. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
131 changes: 123 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,149 @@ Questions:
Introduction to GitHub:

What is GitHub, and what are its primary functions and features? Explain how it supports collaborative software development.
Repositories on GitHub:

#Github is aplatform that provides version control to developers and provides a platform that facilitates collaborations in a project

# Primary Fuctions and Feature:
Collaboration
Project Management
Collaboration.

#How GitHub Supports Collaborative Software Development:
It provides featuures such as
Branches which gives an opportunity to developers to work on fifferent parts of
a project without interfering with the main codebase.
Repositories which are central location for storing a project's data.
Pull requests that allow developers to propose a change in the main code base.


What is a GitHub repository? Describe how to create a new repository and the essential elements that should be included in it.
Version Control with Git:

# A repository is a central location for storing a projects data.

#Creating a New Repository:
Login into Github account.
Click on the new tab
Fill n the repository details; Name and description, choose visibility.
Intialize with a README file.
Choose a license.
Create the repository.
#Essential elements:
README file.
License file.
code files.


Explain the concept of version control in the context of Git. How does GitHub enhance version control for developers?
Branching and Merging in GitHub:
#Git is a version control system that allows developers to have a full copy of a repository in their machine unlike the centralized vesrions.

#How GitHub enhances versioncontrol:
#Collaboration feautures: It facilitates collaboration among developers
with features as pull requests and code review.
#Github can intergrate with development tools
#Since it is a open source software development platform it has a large
community.
#Github has a user friendly web interface.


What are branches in GitHub, and why are they important? Describe the process of creating a branch, making changes, and merging it back into the main branch.
Pull Requests and Code Reviews:
#Branches are features in Github that provide a platform for developers to work on different versions of a code within a project without affecting the main codebase.
#They are important as they:
#They provide a platform for collaboration amongst developers.
# They isolate developers experiments from the main code base.
#Reverting back incase of a change that causes problems.

#The Branching Process:
#Create a New Branch by using command git branch <branch_name>.
SWiitch to new branch using command git checkout <branch name>.
#Make changes in the new branch using git commit -m <commit message>
#Merge with the main branch by switching back to the main branch
using command git checkout main, the mergeing the changes in the
branch using command git merge <branch_name>



What is a pull request in GitHub, and how does it facilitate code reviews and collaboration? Outline the steps to create and review a pull request.
GitHub Actions:

#A pull request allows developers to propose changes in a repository
that is they give an opportunity for developers to request changes to
be merged with the main branch.

#It facilitates code reviews and collaboration by allowing other
developers to review the changes made then providing feedbacks.

#Steps to create a pull request:
#Using command git checkout -b <branch -name> to create a new
branch from the main branch.
#work on the changes and commit the changes through command git
commit -m <commit message>
# Push the changes to remote repository through git push origin
<branch_name>
# Access the github repository, create a new pull request, select
main branch as the base branch and new branch as head branch, add
title and descripton then create pull request.

#Reviewing a pull request:
#Examine the code changes
#Discuss and collaborate.
#Approve or request changes.


Explain what GitHub Actions are and how they can be used to automate workflows. Provide an example of a simple CI/CD pipeline using GitHub Actions.

#GitHub actions allows developers to automate tasks within your GitHub
workflows.

# How they are used to automate workflows:
#Create a workflow file.
# Define the jobs to be executed.
#Define steps to be executed sequentially.
# Trigger the workflow example create a pull request.

Introduction to Visual Studio:

What is Visual Studio, and what are its key features? How does it differ from Visual Studio Code?
Integrating GitHub with Visual Studio:

Describe the steps to integrate a GitHub repository with Visual Studio. How does this integration enhance the development workflow?
Debugging in Visual Studio:

#Steps to integrate a GitHub repository:
#Install Git for windows.
#Launch visual studio.
# create a new project in visual studio.
# In visual studio, navigate to the team explorer tab, manage
coonections, in theconnect to a repository dialog chose clone,
enter github repository url, select a local folder, then click
clone.
#Make changes within visual studio, commit changes in the changes
window in team explorer then push to upload changes to the remote
GitHub repository.

#How does this integration enhance the development workflow:
# Eliminates the need to switch between tools.
# Provides a platform for easy collaboration.
# Alows version control intergration.
# Streamlining a development process improves productivity.



Explain the debugging tools available in Visual Studio. How can developers use these tools to identify and fix issues in their code?
Collaborative Development using GitHub and Visual Studio:
# Debugging tools available in Visual Studio:
# Step-by-Step Execution.
# Breakpoints.
#Watch Expressions.
#Call Stack.
#Data tips.

#How to Use Debugging Tools:
#Use step-by-step execution command to examine the code's behaviour
line by line.
# Examine Call stack to understand the sequence of functions call.


Discuss how GitHub and Visual Studio can be used together to support collaborative development. Provide a real-world example of a project that benefits from this integration.
Discuss how GitHub and Visual Studio can be used together to support collaborative development. Provide a real-world example of a project that benefits from this integration.

#Github is version control system that allows developers to track changes to their code over time, Cisual studio intergrates with Github to allow changes within an intergrated development environment.

Submission Guidelines:
Your answers should be well-structured, concise, and to the point.
Expand Down