Subject Name: Source Code Management
Subject Code: 24CSE0106
Cluster: Alpha
Department: DCSE
Submitted By: Submitted To:
Name: Aastha <Faculty>
678687687 DCSE, CUIET
G01
# Index Task 1.1#
S. Program Title Page No.
No
1. To install and configure Git Client on your local system 01
2. Setting up GitHub Account and Adding Collaborators on GitHub 21
Repository
To merge two branches within a Git repository.
3. 24
4. To demonstrate push and pull operations in Git. 27
Practical No. : 2
Aim: Setting up GitHub Account and Adding Collaborators on GitHub
Repository
Theory:
Whenever you make a repository in GitHub, not everyone has the permission to
change or push codes into your repository. The users have a read-only access. In
order to allow other individuals to make changes to your repository, you need to
invite them to collaborate to the project.
GitHub also restricts the number of collaborators we can invite within a
period of 24 hours. If we exceed the limit, then either we have to wait for 24-
hours or we can also create an organization to collaborate with more people.
Being a collaborator, the user can create, merge and close pull requests in
the repository. They can also remove them as the collaborator.
Procedure:
1. Login to your GitHub account and you will land on
thehomepage as shown below. Click on Repositories
option in the menu bar.
2. Click on the ‘New’ button in the top right corner.
3. Enter the Repository name and add the
description of therepository.
4. Select if you want the repository to be public or private.
5. If you want to import code from an existing
repository selectthe import code option.
6. Now, you have created your repository successfully.
7. To add collaborators to your repository, open your
repository and select settings option in the
navigation bar.
8. Click on Collaborators option under the access tab.
9. After clicking on collaborators, GitHub asks you
to enter your password to confirm the access to the
repository.
[Link] entering the password, you can manage access andadd/remove team
members to your project.
[Link] add members, click on the add people option
and search the id of your respective team member.
[Link] remove any member, click on remove option
available in the last column of member’s
respective row.