SlideShare a Scribd company logo
VERSION
CONTROL
Aria University
Software Engineering
/ghufranataie
SOFTWARE ENGINEERING
ā€¢ Version Control
ā€¢ Git
ā€¢ GitHub
ā€¢ Git vs GitHub
ā€¢ GitHub Options
ā€¢ GitHub on difference IDE s
ā€¢ Git Commands
ā€¢ Summary
Key Study
2
Version Control
ā€¢ Version control is the ability to manage the change and configuration of
an application.
ā€¢ Versioning is a priceless process, especially when you have multiple
developers working on a single application
ā€¢ In software engineering also known as Source Control, Revision Control
and Source Code Management.
ā€¢ Each revision is associated with a timestamp and the person making
the change.
3
Version Control
ā€¢ Version control systems allow you to compare files.
ā€¢ identify differences, and merge the changes if needed prior to
committing any code.
ā€¢ Versioning is also a great way to keep track of application builds by
being able to identify which version is currently in development
ā€¢ when new developers join the team, they can easily download the
current version
4
Git
ā€¢ Version control system (VCS) for tracking changes in computer files.
ā€¢ Initially created in 2005 by Linus who was the creator of Linux
ā€¢ Free open source distributed version control
ā€¢ Coordinates work between multiple developers.
ā€¢ Who made what changes and when.
ā€¢ Revert back anytime.
ā€¢ Local and remote repository.
ā€¢ To download and install visit https://git-scm.com/
5
GitHub
ā€¢ Founded on 2008 by Microsoft corporation.
ā€¢ GitHub provides hosting for software development and version control
using Git
ā€¢ It offers the distributed version control and source code management
SCM
ā€¢ It provides access control and several collaboration features such
as bug tracking, feature requests, task management, and wikis for every
project.
ā€¢ GitHub is a cloud-based hosting service that lets you
manage Git repositories. If you have open-source projects that use Git,6
Git vs GitHub
Git is a high quality version control system
It is installed and maintenance on the local machine
(rather than in cloud)
Git
GitHub is cloud-base hosting services
Its designed as a Git repository hosting services
You can share codes with others given them the poser to make
revision or edits
GitHub
7
GitHub Options and
Keywords
ā€¢ Repository - itā€™s the directory or URL of the initiated git folder
ā€¢ Remote Repository - in Git, a remote is the server where your code is
stored
ā€¢ Branch - essentially is a unique set of code changes with a unique
name
ā€¢ Commit - records changes to one or more files in the branch
ā€¢ Push - commits made on your local branch to a remote repository
ā€¢ Pull - git pull updates your current local working branch
8
GitHub Dreamweaver
Configuration
Create new site on Dreamweaver
1. Open Dreamweaver.
2. In the Site menu, choose New Site.
3. Enter a Site Name. For example, enter <optional>.
4. Create a new local site folder
ā€¢ For local site folder, select an empty folder. If you type the name of a folder
that doesn't exist, it will be created. When the site is created, the remote
Git repository will be cloned to this directory.
Configuring Git credentials in Dreamweaver
5. Select Associate a Git repository with this site.
6. Select Clone existing Git repository using URL.
7. Enter the https:// URL of your repository.
8. For Git Username, enter your GitHub username.
9. For Password, if you are using 2FA (two-factor authentication),
enter your access token If you are not using 2FA, enter your normal
Git password.
10. Click Test to verify that the authentication is working.
11. Check the box labeled Save Credentials.
ā€¢ Note: If you don't save your credentials now, you might not be able to do it
later.
12. Click Save.9
GitHub Android Studio
Configuration
Open the project in android studio
1. Go to File -> Settings -> Version Control -> Git.
2. Click on test button to test "path to Git executables".
ā€¢ If successful message is shown everything is ok, else navigate to
git.exe from where you installed git and test again.
3. Go to File -> Settings -> Version Control -> GitHub. Enter your
email and password used to create GitHub account and click
on OK button.
4. Then go to VCS -> Import into Version Control -> Share Project
on GitHub. Enter Repository name, Description and
click Share button.
5. In the next window check all files in order to add files for initial
commit and click OK.
6. Now the project will be uploaded to the GitHub repository and when
uploading is finished we will get a message in android studio
showing "Successfully shared project on GitHub". Click on the link
provided in that message to go to GitHub repository.
7. Go to VCS -> Git -> Commit file . Then type a commit message and
click on commit button.
10
GitHub Visual Studio
Configuration
Open Visual Studio 2019
1. On Start Window Click ļƒ  Continue without Code
2. Click File ā€“> New ā€“> Repository
3. The Team Explorer opens on the right
4. Pick the folder that you want to create the repository in
Create new project in the created repository
5. File ļƒ  New ļƒ  Project
6. Select project type then next
7. Enter project name and select created repository in location.
Now Commit new project to GitHub
5. Click on Team Explorer ļƒ  Dropdown Arrow ļƒ  Changes
6. Enter a message ļƒ  click plus sign Stage All ļƒ  Commit All
Note: Every changes user made on project files will appear in changes section
11
- $git clone
- $git config
- $git init
- $git clone <path>
- $git add <file_name>
- $git commit
- $git status
- $git remote
- $git checkout < branch_name>
- $git branch
- $git push
- $git pull
- $git merge < branch_name>
- $git diff
- $git reset
- $git revert
- $git t ag
- $git log
Summary
13
ā€¢ Version Control is a source code
management system allow many
developers to work on same project
ā€¢ Git is a version control management
system which works locally
ā€¢ GitHub is a cloud base code management
system using Git
ā€¢ Differences between Git and GitHub
ā€¢ Some GitHub options and keywords
ā€¢ Configuration of GitHub with difference
IDEā€™s on your computer
Thank You
14

More Related Content

What's hot

Git with bitbucket
Git with bitbucketGit with bitbucket
Git with bitbucketSumin Byeon
Ā 
Using Git and BitBucket
Using Git and BitBucketUsing Git and BitBucket
Using Git and BitBucketMedhat Dawoud
Ā 
How we use Bitbucket to build Bitbucket
How we use Bitbucket to build BitbucketHow we use Bitbucket to build Bitbucket
How we use Bitbucket to build Bitbucket
Shunsuke (Sean) Osawa
Ā 
Getting Started with GitHub
Getting Started with GitHubGetting Started with GitHub
Getting Started with GitHub
Michael Redlich
Ā 
Git with bitbucket
Git with bitbucketGit with bitbucket
Git with bitbucket
Suhas Shivaram
Ā 
Workshop on Git and GitHub
Workshop on Git and GitHubWorkshop on Git and GitHub
Workshop on Git and GitHub
DSCVSSUT
Ā 
git-and-bitbucket
git-and-bitbucketgit-and-bitbucket
git-and-bitbucketazwildcat
Ā 
Git and github fundamentals
Git and github fundamentalsGit and github fundamentals
Git and github fundamentals
RajKharvar
Ā 
GitHub
GitHubGitHub
GitHub
ThomasLai27
Ā 
Version control git day01
Version control   git day01Version control   git day01
Version control git day01
Gourav Varma
Ā 
Git hub visualstudiocode
Git hub visualstudiocodeGit hub visualstudiocode
Git hub visualstudiocode
Rolands Krumbergs
Ā 
Git
GitGit
Using git in visual studio 2015
Using git in visual studio 2015Using git in visual studio 2015
Using git in visual studio 2015
Cheah Eng Soon
Ā 
Introduction to GitHub
Introduction to GitHubIntroduction to GitHub
Introduction to GitHub
Nishan Bose
Ā 
Version control git day02
Version control   git day02Version control   git day02
Version control git day02
Gourav Varma
Ā 
Difference between gitlab vs github vs bitbucket
Difference between gitlab vs github vs bitbucketDifference between gitlab vs github vs bitbucket
Difference between gitlab vs github vs bitbucket
Acodez IT Solutions
Ā 
Git, GitHub and Open Source
Git, GitHub and Open SourceGit, GitHub and Open Source
Git, GitHub and Open Source
Lorna Mitchell
Ā 
Intro to Git & GitHub
Intro to Git & GitHubIntro to Git & GitHub
Intro to Git & GitHub
GoogleDevelopersStud
Ā 
Github PowerPoint Final
Github PowerPoint FinalGithub PowerPoint Final
Github PowerPoint FinalElizabeth Walden
Ā 
Intro to Git & GitHub
Intro to Git & GitHubIntro to Git & GitHub

What's hot (20)

Git with bitbucket
Git with bitbucketGit with bitbucket
Git with bitbucket
Ā 
Using Git and BitBucket
Using Git and BitBucketUsing Git and BitBucket
Using Git and BitBucket
Ā 
How we use Bitbucket to build Bitbucket
How we use Bitbucket to build BitbucketHow we use Bitbucket to build Bitbucket
How we use Bitbucket to build Bitbucket
Ā 
Getting Started with GitHub
Getting Started with GitHubGetting Started with GitHub
Getting Started with GitHub
Ā 
Git with bitbucket
Git with bitbucketGit with bitbucket
Git with bitbucket
Ā 
Workshop on Git and GitHub
Workshop on Git and GitHubWorkshop on Git and GitHub
Workshop on Git and GitHub
Ā 
git-and-bitbucket
git-and-bitbucketgit-and-bitbucket
git-and-bitbucket
Ā 
Git and github fundamentals
Git and github fundamentalsGit and github fundamentals
Git and github fundamentals
Ā 
GitHub
GitHubGitHub
GitHub
Ā 
Version control git day01
Version control   git day01Version control   git day01
Version control git day01
Ā 
Git hub visualstudiocode
Git hub visualstudiocodeGit hub visualstudiocode
Git hub visualstudiocode
Ā 
Git
GitGit
Git
Ā 
Using git in visual studio 2015
Using git in visual studio 2015Using git in visual studio 2015
Using git in visual studio 2015
Ā 
Introduction to GitHub
Introduction to GitHubIntroduction to GitHub
Introduction to GitHub
Ā 
Version control git day02
Version control   git day02Version control   git day02
Version control git day02
Ā 
Difference between gitlab vs github vs bitbucket
Difference between gitlab vs github vs bitbucketDifference between gitlab vs github vs bitbucket
Difference between gitlab vs github vs bitbucket
Ā 
Git, GitHub and Open Source
Git, GitHub and Open SourceGit, GitHub and Open Source
Git, GitHub and Open Source
Ā 
Intro to Git & GitHub
Intro to Git & GitHubIntro to Git & GitHub
Intro to Git & GitHub
Ā 
Github PowerPoint Final
Github PowerPoint FinalGithub PowerPoint Final
Github PowerPoint Final
Ā 
Intro to Git & GitHub
Intro to Git & GitHubIntro to Git & GitHub
Intro to Git & GitHub
Ā 

Similar to Version control

Git and git hub basics
Git and git hub basicsGit and git hub basics
Git and git hub basics
prostackacademy
Ā 
Git & Github
Git & GithubGit & Github
Git & Github
Aman Lalpuria
Ā 
Git and GitHub Info Session
Git and GitHub Info SessionGit and GitHub Info Session
Git and GitHub Info Session
SawanBhattacharya
Ā 
Version control git day01
Version control   git day01Version control   git day01
Version control git day01
Gourav Varma
Ā 
Git
GitGit
Introduction to git hub
Introduction to git hubIntroduction to git hub
Introduction to git hub
Naveen Pandey
Ā 
Git & GitLab
Git & GitLabGit & GitLab
Git & GitLab
Gaurav Wable
Ā 
Git and GitHub (1).pptx
Git and GitHub (1).pptxGit and GitHub (1).pptx
Git and GitHub (1).pptx
BetelAddisu
Ā 
Git Series - Part 1
Git Series - Part 1 Git Series - Part 1
Git Series - Part 1
Mohamed Abdeen
Ā 
Beginner Workshop for Student Developers - Tratech-presentation.pdf
Beginner Workshop for Student Developers - Tratech-presentation.pdfBeginner Workshop for Student Developers - Tratech-presentation.pdf
Beginner Workshop for Student Developers - Tratech-presentation.pdf
GDSCKNUST
Ā 
Introduction to git and githhub with practicals.pptx
Introduction to git and githhub with practicals.pptxIntroduction to git and githhub with practicals.pptx
Introduction to git and githhub with practicals.pptx
Abdul Salam
Ā 
14 oct Git & GitHub.pptx
14 oct Git & GitHub.pptx14 oct Git & GitHub.pptx
14 oct Git & GitHub.pptx
GDSCGHRIETNagpur
Ā 
Git installation and configuration
Git installation and configurationGit installation and configuration
Git installation and configuration
Kishor Kumar
Ā 
Git Session 2K23.pptx
Git Session 2K23.pptxGit Session 2K23.pptx
Git Session 2K23.pptx
Eshaan35
Ā 
Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1
Omar Fathy
Ā 
Introduction to Git and GitHub
Introduction to Git and GitHubIntroduction to Git and GitHub
Introduction to Git and GitHub
Vikram SV
Ā 
Setting up Git.pptx
Setting up Git.pptxSetting up Git.pptx
Setting up Git.pptx
tapanvyas11
Ā 
Mini-training: Letā€™s Git It!
Mini-training: Letā€™s Git It!Mini-training: Letā€™s Git It!
Mini-training: Letā€™s Git It!
Betclic Everest Group Tech Team
Ā 
git and github-1.pptx
git and github-1.pptxgit and github-1.pptx
git and github-1.pptx
tnscharishma
Ā 
GitHub Basics - Derek Bable
GitHub Basics - Derek BableGitHub Basics - Derek Bable
GitHub Basics - Derek Bable
"FENG "GEORGE"" YU
Ā 

Similar to Version control (20)

Git and git hub basics
Git and git hub basicsGit and git hub basics
Git and git hub basics
Ā 
Git & Github
Git & GithubGit & Github
Git & Github
Ā 
Git and GitHub Info Session
Git and GitHub Info SessionGit and GitHub Info Session
Git and GitHub Info Session
Ā 
Version control git day01
Version control   git day01Version control   git day01
Version control git day01
Ā 
Git
GitGit
Git
Ā 
Introduction to git hub
Introduction to git hubIntroduction to git hub
Introduction to git hub
Ā 
Git & GitLab
Git & GitLabGit & GitLab
Git & GitLab
Ā 
Git and GitHub (1).pptx
Git and GitHub (1).pptxGit and GitHub (1).pptx
Git and GitHub (1).pptx
Ā 
Git Series - Part 1
Git Series - Part 1 Git Series - Part 1
Git Series - Part 1
Ā 
Beginner Workshop for Student Developers - Tratech-presentation.pdf
Beginner Workshop for Student Developers - Tratech-presentation.pdfBeginner Workshop for Student Developers - Tratech-presentation.pdf
Beginner Workshop for Student Developers - Tratech-presentation.pdf
Ā 
Introduction to git and githhub with practicals.pptx
Introduction to git and githhub with practicals.pptxIntroduction to git and githhub with practicals.pptx
Introduction to git and githhub with practicals.pptx
Ā 
14 oct Git & GitHub.pptx
14 oct Git & GitHub.pptx14 oct Git & GitHub.pptx
14 oct Git & GitHub.pptx
Ā 
Git installation and configuration
Git installation and configurationGit installation and configuration
Git installation and configuration
Ā 
Git Session 2K23.pptx
Git Session 2K23.pptxGit Session 2K23.pptx
Git Session 2K23.pptx
Ā 
Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1
Ā 
Introduction to Git and GitHub
Introduction to Git and GitHubIntroduction to Git and GitHub
Introduction to Git and GitHub
Ā 
Setting up Git.pptx
Setting up Git.pptxSetting up Git.pptx
Setting up Git.pptx
Ā 
Mini-training: Letā€™s Git It!
Mini-training: Letā€™s Git It!Mini-training: Letā€™s Git It!
Mini-training: Letā€™s Git It!
Ā 
git and github-1.pptx
git and github-1.pptxgit and github-1.pptx
git and github-1.pptx
Ā 
GitHub Basics - Derek Bable
GitHub Basics - Derek BableGitHub Basics - Derek Bable
GitHub Basics - Derek Bable
Ā 

More from Ghufran Ataie

Global Warming and Climate Change - 2023.pptx
Global Warming and Climate Change - 2023.pptxGlobal Warming and Climate Change - 2023.pptx
Global Warming and Climate Change - 2023.pptx
Ghufran Ataie
Ā 
Sha algorithms
Sha algorithmsSha algorithms
Sha algorithms
Ghufran Ataie
Ā 
ATS circuit
ATS circuitATS circuit
ATS circuit
Ghufran Ataie
Ā 
Decision Making Process
Decision Making ProcessDecision Making Process
Decision Making Process
Ghufran Ataie
Ā 
Fsrm disk quota management system and file encryption
Fsrm disk quota management system and file encryptionFsrm disk quota management system and file encryption
Fsrm disk quota management system and file encryption
Ghufran Ataie
Ā 
Transistor
TransistorTransistor
Transistor
Ghufran Ataie
Ā 
Optical Character Recognition
Optical Character RecognitionOptical Character Recognition
Optical Character Recognition
Ghufran Ataie
Ā 
Global warming
Global warmingGlobal warming
Global warming
Ghufran Ataie
Ā 

More from Ghufran Ataie (8)

Global Warming and Climate Change - 2023.pptx
Global Warming and Climate Change - 2023.pptxGlobal Warming and Climate Change - 2023.pptx
Global Warming and Climate Change - 2023.pptx
Ā 
Sha algorithms
Sha algorithmsSha algorithms
Sha algorithms
Ā 
ATS circuit
ATS circuitATS circuit
ATS circuit
Ā 
Decision Making Process
Decision Making ProcessDecision Making Process
Decision Making Process
Ā 
Fsrm disk quota management system and file encryption
Fsrm disk quota management system and file encryptionFsrm disk quota management system and file encryption
Fsrm disk quota management system and file encryption
Ā 
Transistor
TransistorTransistor
Transistor
Ā 
Optical Character Recognition
Optical Character RecognitionOptical Character Recognition
Optical Character Recognition
Ā 
Global warming
Global warmingGlobal warming
Global warming
Ā 

Recently uploaded

OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
takuyayamamoto1800
Ā 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
Ā 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Globus
Ā 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Paco van Beckhoven
Ā 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Fermin Galan
Ā 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
informapgpstrackings
Ā 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Natan Silnitsky
Ā 
Enterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptxEnterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptx
QuickwayInfoSystems3
Ā 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
Ā 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Globus
Ā 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
Ā 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
Neo4j
Ā 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
rickgrimesss22
Ā 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
NYGGS Automation Suite
Ā 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
Ā 
AI Pilot Review: The Worldā€™s First Virtual Assistant Marketing Suite
AI Pilot Review: The Worldā€™s First Virtual Assistant Marketing SuiteAI Pilot Review: The Worldā€™s First Virtual Assistant Marketing Suite
AI Pilot Review: The Worldā€™s First Virtual Assistant Marketing Suite
Google
Ā 
Launch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in MinutesLaunch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in Minutes
Roshan Dwivedi
Ā 
Dominate Social Media with TubeTrivia AIā€™s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AIā€™s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AIā€™s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AIā€™s Addictive Quiz Videos.pdf
AMB-Review
Ā 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
Cyanic lab
Ā 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
Ā 

Recently uploaded (20)

OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
Ā 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Ā 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Ā 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Ā 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Ā 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Ā 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Ā 
Enterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptxEnterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptx
Ā 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Ā 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Ā 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Ā 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
Ā 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Ā 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
Ā 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
Ā 
AI Pilot Review: The Worldā€™s First Virtual Assistant Marketing Suite
AI Pilot Review: The Worldā€™s First Virtual Assistant Marketing SuiteAI Pilot Review: The Worldā€™s First Virtual Assistant Marketing Suite
AI Pilot Review: The Worldā€™s First Virtual Assistant Marketing Suite
Ā 
Launch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in MinutesLaunch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in Minutes
Ā 
Dominate Social Media with TubeTrivia AIā€™s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AIā€™s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AIā€™s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AIā€™s Addictive Quiz Videos.pdf
Ā 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
Ā 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Ā 

Version control

  • 2. SOFTWARE ENGINEERING ā€¢ Version Control ā€¢ Git ā€¢ GitHub ā€¢ Git vs GitHub ā€¢ GitHub Options ā€¢ GitHub on difference IDE s ā€¢ Git Commands ā€¢ Summary Key Study 2
  • 3. Version Control ā€¢ Version control is the ability to manage the change and configuration of an application. ā€¢ Versioning is a priceless process, especially when you have multiple developers working on a single application ā€¢ In software engineering also known as Source Control, Revision Control and Source Code Management. ā€¢ Each revision is associated with a timestamp and the person making the change. 3
  • 4. Version Control ā€¢ Version control systems allow you to compare files. ā€¢ identify differences, and merge the changes if needed prior to committing any code. ā€¢ Versioning is also a great way to keep track of application builds by being able to identify which version is currently in development ā€¢ when new developers join the team, they can easily download the current version 4
  • 5. Git ā€¢ Version control system (VCS) for tracking changes in computer files. ā€¢ Initially created in 2005 by Linus who was the creator of Linux ā€¢ Free open source distributed version control ā€¢ Coordinates work between multiple developers. ā€¢ Who made what changes and when. ā€¢ Revert back anytime. ā€¢ Local and remote repository. ā€¢ To download and install visit https://git-scm.com/ 5
  • 6. GitHub ā€¢ Founded on 2008 by Microsoft corporation. ā€¢ GitHub provides hosting for software development and version control using Git ā€¢ It offers the distributed version control and source code management SCM ā€¢ It provides access control and several collaboration features such as bug tracking, feature requests, task management, and wikis for every project. ā€¢ GitHub is a cloud-based hosting service that lets you manage Git repositories. If you have open-source projects that use Git,6
  • 7. Git vs GitHub Git is a high quality version control system It is installed and maintenance on the local machine (rather than in cloud) Git GitHub is cloud-base hosting services Its designed as a Git repository hosting services You can share codes with others given them the poser to make revision or edits GitHub 7
  • 8. GitHub Options and Keywords ā€¢ Repository - itā€™s the directory or URL of the initiated git folder ā€¢ Remote Repository - in Git, a remote is the server where your code is stored ā€¢ Branch - essentially is a unique set of code changes with a unique name ā€¢ Commit - records changes to one or more files in the branch ā€¢ Push - commits made on your local branch to a remote repository ā€¢ Pull - git pull updates your current local working branch 8
  • 9. GitHub Dreamweaver Configuration Create new site on Dreamweaver 1. Open Dreamweaver. 2. In the Site menu, choose New Site. 3. Enter a Site Name. For example, enter <optional>. 4. Create a new local site folder ā€¢ For local site folder, select an empty folder. If you type the name of a folder that doesn't exist, it will be created. When the site is created, the remote Git repository will be cloned to this directory. Configuring Git credentials in Dreamweaver 5. Select Associate a Git repository with this site. 6. Select Clone existing Git repository using URL. 7. Enter the https:// URL of your repository. 8. For Git Username, enter your GitHub username. 9. For Password, if you are using 2FA (two-factor authentication), enter your access token If you are not using 2FA, enter your normal Git password. 10. Click Test to verify that the authentication is working. 11. Check the box labeled Save Credentials. ā€¢ Note: If you don't save your credentials now, you might not be able to do it later. 12. Click Save.9
  • 10. GitHub Android Studio Configuration Open the project in android studio 1. Go to File -> Settings -> Version Control -> Git. 2. Click on test button to test "path to Git executables". ā€¢ If successful message is shown everything is ok, else navigate to git.exe from where you installed git and test again. 3. Go to File -> Settings -> Version Control -> GitHub. Enter your email and password used to create GitHub account and click on OK button. 4. Then go to VCS -> Import into Version Control -> Share Project on GitHub. Enter Repository name, Description and click Share button. 5. In the next window check all files in order to add files for initial commit and click OK. 6. Now the project will be uploaded to the GitHub repository and when uploading is finished we will get a message in android studio showing "Successfully shared project on GitHub". Click on the link provided in that message to go to GitHub repository. 7. Go to VCS -> Git -> Commit file . Then type a commit message and click on commit button. 10
  • 11. GitHub Visual Studio Configuration Open Visual Studio 2019 1. On Start Window Click ļƒ  Continue without Code 2. Click File ā€“> New ā€“> Repository 3. The Team Explorer opens on the right 4. Pick the folder that you want to create the repository in Create new project in the created repository 5. File ļƒ  New ļƒ  Project 6. Select project type then next 7. Enter project name and select created repository in location. Now Commit new project to GitHub 5. Click on Team Explorer ļƒ  Dropdown Arrow ļƒ  Changes 6. Enter a message ļƒ  click plus sign Stage All ļƒ  Commit All Note: Every changes user made on project files will appear in changes section 11
  • 12. - $git clone - $git config - $git init - $git clone <path> - $git add <file_name> - $git commit - $git status - $git remote - $git checkout < branch_name> - $git branch - $git push - $git pull - $git merge < branch_name> - $git diff - $git reset - $git revert - $git t ag - $git log
  • 13. Summary 13 ā€¢ Version Control is a source code management system allow many developers to work on same project ā€¢ Git is a version control management system which works locally ā€¢ GitHub is a cloud base code management system using Git ā€¢ Differences between Git and GitHub ā€¢ Some GitHub options and keywords ā€¢ Configuration of GitHub with difference IDEā€™s on your computer