0% found this document useful (0 votes)
0 views2 pages

SE Experiment 1

The document outlines the steps to create a version control account and configure a repository using Git and GitHub. It includes instructions for account creation, Git installation, initial setup, repository creation, cloning, and pushing changes. The conclusion emphasizes the successful setup and understanding of the basic Git workflow.

Uploaded by

ankitkumar8291
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
0 views2 pages

SE Experiment 1

The document outlines the steps to create a version control account and configure a repository using Git and GitHub. It includes instructions for account creation, Git installation, initial setup, repository creation, cloning, and pushing changes. The conclusion emphasizes the successful setup and understanding of the basic Git workflow.

Uploaded by

ankitkumar8291
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Experiment 1:-

Title:

Creating a Version Control Account and Configuring a Repository (Using Git or


Similar Tool)

Objective:

To learn how to create an account on a version control system (like GitHub) and set
up a repository for software development projects.

Tools Required:

 Git installed on local machine


 GitHub account

Steps to Follow:

1. Create a GitHub Account

 Visit the official website (e.g., https://github.com)


 Sign up using your email
 Verify your email and complete the profile setup

2. Install Git on Local System

 Download from https://git-scm.com


 Install using default settings
 Open terminal or Git Bash
 Run the following to check installation:
git --version

3. Configure Git (Initial Setup)

 Set username and email:


git config --global user.name "Your Name"
git config --global user.email "[email protected]"
4. Create a New Repository

 Go to GitHub > Click on New Repository


 Name the repository
 Add description (optional)
 Choose public/private
 Initialize with README (optional)

5. Clone Repository to Local Machine


git clone https://github.com/yourusername/your-repo-name.git

6. Add a File and Push Changes

 Navigate to the repo folder


 Create a file, e.g., index.html or main.py
 Add and push to the repository:

git init
git add .
git commit -m "Initial commit"
git branch -M main
git remote add origin https://github.com/user_name/repo_name.git
git push -u origin main

7. Verify Changes on GitHub

 Open repository in browser


 Check if your file is uploaded

Conclusion:

Successfully created and configured a repository using Git and a remote hosting
service. Understood the basic Git workflow.

You might also like